Package onnx

Class Onnx.DenotationConstProto.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Onnx.DenotationConstProtoOrBuilder
    Enclosing class:
    Onnx.DenotationConstProto

    public static final class Onnx.DenotationConstProto.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Onnx.DenotationConstProto.Builder>
    implements Onnx.DenotationConstProtoOrBuilder
     A set of pre-defined constants to be used as values for
     the standard denotation field in TensorShapeProto.Dimension
     for semantic description of the tensor dimension.
     
    Protobuf type onnx.DenotationConstProto
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.DenotationConstProto.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.DenotationConstProto.Builder>
      • getDefaultInstanceForType

        public Onnx.DenotationConstProto getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Onnx.DenotationConstProto build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Onnx.DenotationConstProto buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Onnx.DenotationConstProto.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.DenotationConstProto.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.DenotationConstProto.Builder>
      • mergeFrom

        public Onnx.DenotationConstProto.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Onnx.DenotationConstProto.Builder>
        Throws:
        IOException
      • hasDATABATCH

        public boolean hasDATABATCH()
         Describe a batch number dimension.
         
        optional string DATA_BATCH = 1 [default = "DATA_BATCH"];
        Specified by:
        hasDATABATCH in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the dATABATCH field is set.
      • getDATABATCHBytes

        public com.google.protobuf.ByteString getDATABATCHBytes()
         Describe a batch number dimension.
         
        optional string DATA_BATCH = 1 [default = "DATA_BATCH"];
        Specified by:
        getDATABATCHBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for dATABATCH.
      • setDATABATCH

        public Onnx.DenotationConstProto.Builder setDATABATCH​(String value)
         Describe a batch number dimension.
         
        optional string DATA_BATCH = 1 [default = "DATA_BATCH"];
        Parameters:
        value - The dATABATCH to set.
        Returns:
        This builder for chaining.
      • clearDATABATCH

        public Onnx.DenotationConstProto.Builder clearDATABATCH()
         Describe a batch number dimension.
         
        optional string DATA_BATCH = 1 [default = "DATA_BATCH"];
        Returns:
        This builder for chaining.
      • setDATABATCHBytes

        public Onnx.DenotationConstProto.Builder setDATABATCHBytes​(com.google.protobuf.ByteString value)
         Describe a batch number dimension.
         
        optional string DATA_BATCH = 1 [default = "DATA_BATCH"];
        Parameters:
        value - The bytes for dATABATCH to set.
        Returns:
        This builder for chaining.
      • hasDATACHANNEL

        public boolean hasDATACHANNEL()
         Describe a channel dimension.
         
        optional string DATA_CHANNEL = 2 [default = "DATA_CHANNEL"];
        Specified by:
        hasDATACHANNEL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the dATACHANNEL field is set.
      • getDATACHANNELBytes

        public com.google.protobuf.ByteString getDATACHANNELBytes()
         Describe a channel dimension.
         
        optional string DATA_CHANNEL = 2 [default = "DATA_CHANNEL"];
        Specified by:
        getDATACHANNELBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for dATACHANNEL.
      • setDATACHANNEL

        public Onnx.DenotationConstProto.Builder setDATACHANNEL​(String value)
         Describe a channel dimension.
         
        optional string DATA_CHANNEL = 2 [default = "DATA_CHANNEL"];
        Parameters:
        value - The dATACHANNEL to set.
        Returns:
        This builder for chaining.
      • clearDATACHANNEL

        public Onnx.DenotationConstProto.Builder clearDATACHANNEL()
         Describe a channel dimension.
         
        optional string DATA_CHANNEL = 2 [default = "DATA_CHANNEL"];
        Returns:
        This builder for chaining.
      • setDATACHANNELBytes

        public Onnx.DenotationConstProto.Builder setDATACHANNELBytes​(com.google.protobuf.ByteString value)
         Describe a channel dimension.
         
        optional string DATA_CHANNEL = 2 [default = "DATA_CHANNEL"];
        Parameters:
        value - The bytes for dATACHANNEL to set.
        Returns:
        This builder for chaining.
      • hasDATATIME

        public boolean hasDATATIME()
         Describe a time dimension.
         
        optional string DATA_TIME = 3 [default = "DATA_TIME"];
        Specified by:
        hasDATATIME in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the dATATIME field is set.
      • getDATATIMEBytes

        public com.google.protobuf.ByteString getDATATIMEBytes()
         Describe a time dimension.
         
        optional string DATA_TIME = 3 [default = "DATA_TIME"];
        Specified by:
        getDATATIMEBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for dATATIME.
      • setDATATIME

        public Onnx.DenotationConstProto.Builder setDATATIME​(String value)
         Describe a time dimension.
         
        optional string DATA_TIME = 3 [default = "DATA_TIME"];
        Parameters:
        value - The dATATIME to set.
        Returns:
        This builder for chaining.
      • clearDATATIME

        public Onnx.DenotationConstProto.Builder clearDATATIME()
         Describe a time dimension.
         
        optional string DATA_TIME = 3 [default = "DATA_TIME"];
        Returns:
        This builder for chaining.
      • setDATATIMEBytes

        public Onnx.DenotationConstProto.Builder setDATATIMEBytes​(com.google.protobuf.ByteString value)
         Describe a time dimension.
         
        optional string DATA_TIME = 3 [default = "DATA_TIME"];
        Parameters:
        value - The bytes for dATATIME to set.
        Returns:
        This builder for chaining.
      • hasDATAFEATURE

        public boolean hasDATAFEATURE()
         Describe a feature dimension. This is typically a feature
         dimension in RNN and/or spatial dimension in CNN.
         
        optional string DATA_FEATURE = 4 [default = "DATA_FEATURE"];
        Specified by:
        hasDATAFEATURE in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the dATAFEATURE field is set.
      • getDATAFEATURE

        public String getDATAFEATURE()
         Describe a feature dimension. This is typically a feature
         dimension in RNN and/or spatial dimension in CNN.
         
        optional string DATA_FEATURE = 4 [default = "DATA_FEATURE"];
        Specified by:
        getDATAFEATURE in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The dATAFEATURE.
      • getDATAFEATUREBytes

        public com.google.protobuf.ByteString getDATAFEATUREBytes()
         Describe a feature dimension. This is typically a feature
         dimension in RNN and/or spatial dimension in CNN.
         
        optional string DATA_FEATURE = 4 [default = "DATA_FEATURE"];
        Specified by:
        getDATAFEATUREBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for dATAFEATURE.
      • setDATAFEATURE

        public Onnx.DenotationConstProto.Builder setDATAFEATURE​(String value)
         Describe a feature dimension. This is typically a feature
         dimension in RNN and/or spatial dimension in CNN.
         
        optional string DATA_FEATURE = 4 [default = "DATA_FEATURE"];
        Parameters:
        value - The dATAFEATURE to set.
        Returns:
        This builder for chaining.
      • clearDATAFEATURE

        public Onnx.DenotationConstProto.Builder clearDATAFEATURE()
         Describe a feature dimension. This is typically a feature
         dimension in RNN and/or spatial dimension in CNN.
         
        optional string DATA_FEATURE = 4 [default = "DATA_FEATURE"];
        Returns:
        This builder for chaining.
      • setDATAFEATUREBytes

        public Onnx.DenotationConstProto.Builder setDATAFEATUREBytes​(com.google.protobuf.ByteString value)
         Describe a feature dimension. This is typically a feature
         dimension in RNN and/or spatial dimension in CNN.
         
        optional string DATA_FEATURE = 4 [default = "DATA_FEATURE"];
        Parameters:
        value - The bytes for dATAFEATURE to set.
        Returns:
        This builder for chaining.
      • hasFILTERINCHANNEL

        public boolean hasFILTERINCHANNEL()
         Describe a filter in-channel dimension. This is the dimension
         that is identical (in size) to the channel dimension of the input
         image feature maps.
         
        optional string FILTER_IN_CHANNEL = 5 [default = "FILTER_IN_CHANNEL"];
        Specified by:
        hasFILTERINCHANNEL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the fILTERINCHANNEL field is set.
      • getFILTERINCHANNEL

        public String getFILTERINCHANNEL()
         Describe a filter in-channel dimension. This is the dimension
         that is identical (in size) to the channel dimension of the input
         image feature maps.
         
        optional string FILTER_IN_CHANNEL = 5 [default = "FILTER_IN_CHANNEL"];
        Specified by:
        getFILTERINCHANNEL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The fILTERINCHANNEL.
      • getFILTERINCHANNELBytes

        public com.google.protobuf.ByteString getFILTERINCHANNELBytes()
         Describe a filter in-channel dimension. This is the dimension
         that is identical (in size) to the channel dimension of the input
         image feature maps.
         
        optional string FILTER_IN_CHANNEL = 5 [default = "FILTER_IN_CHANNEL"];
        Specified by:
        getFILTERINCHANNELBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for fILTERINCHANNEL.
      • setFILTERINCHANNEL

        public Onnx.DenotationConstProto.Builder setFILTERINCHANNEL​(String value)
         Describe a filter in-channel dimension. This is the dimension
         that is identical (in size) to the channel dimension of the input
         image feature maps.
         
        optional string FILTER_IN_CHANNEL = 5 [default = "FILTER_IN_CHANNEL"];
        Parameters:
        value - The fILTERINCHANNEL to set.
        Returns:
        This builder for chaining.
      • clearFILTERINCHANNEL

        public Onnx.DenotationConstProto.Builder clearFILTERINCHANNEL()
         Describe a filter in-channel dimension. This is the dimension
         that is identical (in size) to the channel dimension of the input
         image feature maps.
         
        optional string FILTER_IN_CHANNEL = 5 [default = "FILTER_IN_CHANNEL"];
        Returns:
        This builder for chaining.
      • setFILTERINCHANNELBytes

        public Onnx.DenotationConstProto.Builder setFILTERINCHANNELBytes​(com.google.protobuf.ByteString value)
         Describe a filter in-channel dimension. This is the dimension
         that is identical (in size) to the channel dimension of the input
         image feature maps.
         
        optional string FILTER_IN_CHANNEL = 5 [default = "FILTER_IN_CHANNEL"];
        Parameters:
        value - The bytes for fILTERINCHANNEL to set.
        Returns:
        This builder for chaining.
      • hasFILTEROUTCHANNEL

        public boolean hasFILTEROUTCHANNEL()
         Describe a filter out channel dimension. This is the dimension
         that is identical (int size) to the channel dimension of the output
         image feature maps.
         
        optional string FILTER_OUT_CHANNEL = 6 [default = "FILTER_OUT_CHANNEL"];
        Specified by:
        hasFILTEROUTCHANNEL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the fILTEROUTCHANNEL field is set.
      • getFILTEROUTCHANNEL

        public String getFILTEROUTCHANNEL()
         Describe a filter out channel dimension. This is the dimension
         that is identical (int size) to the channel dimension of the output
         image feature maps.
         
        optional string FILTER_OUT_CHANNEL = 6 [default = "FILTER_OUT_CHANNEL"];
        Specified by:
        getFILTEROUTCHANNEL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The fILTEROUTCHANNEL.
      • getFILTEROUTCHANNELBytes

        public com.google.protobuf.ByteString getFILTEROUTCHANNELBytes()
         Describe a filter out channel dimension. This is the dimension
         that is identical (int size) to the channel dimension of the output
         image feature maps.
         
        optional string FILTER_OUT_CHANNEL = 6 [default = "FILTER_OUT_CHANNEL"];
        Specified by:
        getFILTEROUTCHANNELBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for fILTEROUTCHANNEL.
      • setFILTEROUTCHANNEL

        public Onnx.DenotationConstProto.Builder setFILTEROUTCHANNEL​(String value)
         Describe a filter out channel dimension. This is the dimension
         that is identical (int size) to the channel dimension of the output
         image feature maps.
         
        optional string FILTER_OUT_CHANNEL = 6 [default = "FILTER_OUT_CHANNEL"];
        Parameters:
        value - The fILTEROUTCHANNEL to set.
        Returns:
        This builder for chaining.
      • clearFILTEROUTCHANNEL

        public Onnx.DenotationConstProto.Builder clearFILTEROUTCHANNEL()
         Describe a filter out channel dimension. This is the dimension
         that is identical (int size) to the channel dimension of the output
         image feature maps.
         
        optional string FILTER_OUT_CHANNEL = 6 [default = "FILTER_OUT_CHANNEL"];
        Returns:
        This builder for chaining.
      • setFILTEROUTCHANNELBytes

        public Onnx.DenotationConstProto.Builder setFILTEROUTCHANNELBytes​(com.google.protobuf.ByteString value)
         Describe a filter out channel dimension. This is the dimension
         that is identical (int size) to the channel dimension of the output
         image feature maps.
         
        optional string FILTER_OUT_CHANNEL = 6 [default = "FILTER_OUT_CHANNEL"];
        Parameters:
        value - The bytes for fILTEROUTCHANNEL to set.
        Returns:
        This builder for chaining.
      • hasFILTERSPATIAL

        public boolean hasFILTERSPATIAL()
         Describe a filter spatial dimension.
         
        optional string FILTER_SPATIAL = 7 [default = "FILTER_SPATIAL"];
        Specified by:
        hasFILTERSPATIAL in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        Whether the fILTERSPATIAL field is set.
      • getFILTERSPATIALBytes

        public com.google.protobuf.ByteString getFILTERSPATIALBytes()
         Describe a filter spatial dimension.
         
        optional string FILTER_SPATIAL = 7 [default = "FILTER_SPATIAL"];
        Specified by:
        getFILTERSPATIALBytes in interface Onnx.DenotationConstProtoOrBuilder
        Returns:
        The bytes for fILTERSPATIAL.
      • setFILTERSPATIAL

        public Onnx.DenotationConstProto.Builder setFILTERSPATIAL​(String value)
         Describe a filter spatial dimension.
         
        optional string FILTER_SPATIAL = 7 [default = "FILTER_SPATIAL"];
        Parameters:
        value - The fILTERSPATIAL to set.
        Returns:
        This builder for chaining.
      • clearFILTERSPATIAL

        public Onnx.DenotationConstProto.Builder clearFILTERSPATIAL()
         Describe a filter spatial dimension.
         
        optional string FILTER_SPATIAL = 7 [default = "FILTER_SPATIAL"];
        Returns:
        This builder for chaining.
      • setFILTERSPATIALBytes

        public Onnx.DenotationConstProto.Builder setFILTERSPATIALBytes​(com.google.protobuf.ByteString value)
         Describe a filter spatial dimension.
         
        optional string FILTER_SPATIAL = 7 [default = "FILTER_SPATIAL"];
        Parameters:
        value - The bytes for fILTERSPATIAL to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Onnx.DenotationConstProto.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.DenotationConstProto.Builder>
      • mergeUnknownFields

        public final Onnx.DenotationConstProto.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.DenotationConstProto.Builder>