Class MobileAppCategoryConstant.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<MobileAppCategoryConstant.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<MobileAppCategoryConstant.Builder>
      • getDefaultInstanceForType

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

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

        public MobileAppCategoryConstant buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setField

        public MobileAppCategoryConstant.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<MobileAppCategoryConstant.Builder>
      • setRepeatedField

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

        public MobileAppCategoryConstant.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MobileAppCategoryConstant.Builder>
      • isInitialized

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

        public MobileAppCategoryConstant.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.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<MobileAppCategoryConstant.Builder>
        Throws:
        java.io.IOException
      • getResourceName

        public java.lang.String getResourceName()
         Output only. The resource name of the mobile app category constant.
         Mobile app category constant resource names have the form:
         `mobileAppCategoryConstants/{mobile_app_category_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface MobileAppCategoryConstantOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Output only. The resource name of the mobile app category constant.
         Mobile app category constant resource names have the form:
         `mobileAppCategoryConstants/{mobile_app_category_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface MobileAppCategoryConstantOrBuilder
        Returns:
        The bytes for resourceName.
      • setResourceName

        public MobileAppCategoryConstant.Builder setResourceName​(java.lang.String value)
         Output only. The resource name of the mobile app category constant.
         Mobile app category constant resource names have the form:
         `mobileAppCategoryConstants/{mobile_app_category_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The resourceName to set.
        Returns:
        This builder for chaining.
      • clearResourceName

        public MobileAppCategoryConstant.Builder clearResourceName()
         Output only. The resource name of the mobile app category constant.
         Mobile app category constant resource names have the form:
         `mobileAppCategoryConstants/{mobile_app_category_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public MobileAppCategoryConstant.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the mobile app category constant.
         Mobile app category constant resource names have the form:
         `mobileAppCategoryConstants/{mobile_app_category_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for resourceName to set.
        Returns:
        This builder for chaining.
      • hasId

        public boolean hasId()
         Output only. The ID of the mobile app category constant.
         
        optional int32 id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasId in interface MobileAppCategoryConstantOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public int getId()
         Output only. The ID of the mobile app category constant.
         
        optional int32 id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface MobileAppCategoryConstantOrBuilder
        Returns:
        The id.
      • setId

        public MobileAppCategoryConstant.Builder setId​(int value)
         Output only. The ID of the mobile app category constant.
         
        optional int32 id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public MobileAppCategoryConstant.Builder clearId()
         Output only. The ID of the mobile app category constant.
         
        optional int32 id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         Output only. Mobile app category name.
         
        optional string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasName in interface MobileAppCategoryConstantOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
         Output only. Mobile app category name.
         
        optional string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface MobileAppCategoryConstantOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. Mobile app category name.
         
        optional string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface MobileAppCategoryConstantOrBuilder
        Returns:
        The bytes for name.
      • setName

        public MobileAppCategoryConstant.Builder setName​(java.lang.String value)
         Output only. Mobile app category name.
         
        optional string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public MobileAppCategoryConstant.Builder clearName()
         Output only. Mobile app category name.
         
        optional string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public MobileAppCategoryConstant.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. Mobile app category name.
         
        optional string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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