Package ucar.gcdm

Class GcdmNetcdfProto.Dimension.Builder

    • 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<GcdmNetcdfProto.Dimension.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<GcdmNetcdfProto.Dimension.Builder>
      • getDefaultInstanceForType

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

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

        public GcdmNetcdfProto.Dimension buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public GcdmNetcdfProto.Dimension.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<GcdmNetcdfProto.Dimension.Builder>
        Throws:
        IOException
      • setName

        public GcdmNetcdfProto.Dimension.Builder setName​(String value)
         short name - optional when private
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public GcdmNetcdfProto.Dimension.Builder setNameBytes​(com.google.protobuf.ByteString value)
         short name - optional when private
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setLength

        public GcdmNetcdfProto.Dimension.Builder setLength​(long value)
         optional when vlen, may be zero if unlimited
         
        uint64 length = 2;
        Parameters:
        value - The length to set.
        Returns:
        This builder for chaining.
      • clearLength

        public GcdmNetcdfProto.Dimension.Builder clearLength()
         optional when vlen, may be zero if unlimited
         
        uint64 length = 2;
        Returns:
        This builder for chaining.
      • setIsUnlimited

        public GcdmNetcdfProto.Dimension.Builder setIsUnlimited​(boolean value)
        bool is_unlimited = 3;
        Parameters:
        value - The isUnlimited to set.
        Returns:
        This builder for chaining.
      • setIsVlen

        public GcdmNetcdfProto.Dimension.Builder setIsVlen​(boolean value)
        bool is_vlen = 4;
        Parameters:
        value - The isVlen to set.
        Returns:
        This builder for chaining.
      • setIsPrivate

        public GcdmNetcdfProto.Dimension.Builder setIsPrivate​(boolean value)
        bool is_private = 5;
        Parameters:
        value - The isPrivate to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final GcdmNetcdfProto.Dimension.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<GcdmNetcdfProto.Dimension.Builder>
      • mergeUnknownFields

        public final GcdmNetcdfProto.Dimension.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<GcdmNetcdfProto.Dimension.Builder>