Class IndustryVerticalInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IndustryVerticalInfo.Builder>
com.google.ads.googleads.v23.services.IndustryVerticalInfo.Builder
All Implemented Interfaces:
IndustryVerticalInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
IndustryVerticalInfo

public static final class IndustryVerticalInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<IndustryVerticalInfo.Builder> implements IndustryVerticalInfoOrBuilder
 The information associated with an Industry Vertical.
 
Protobuf type google.ads.googleads.v23.services.IndustryVerticalInfo
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IndustryVerticalInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<IndustryVerticalInfo.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.GeneratedMessage.Builder<IndustryVerticalInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public IndustryVerticalInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IndustryVerticalInfo.Builder>
    • mergeFrom

    • isInitialized

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

      public IndustryVerticalInfo.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<IndustryVerticalInfo.Builder>
      Throws:
      IOException
    • getIndustryVerticalName

      public String getIndustryVerticalName()
       The name of the Industry Vertical.
       
      string industry_vertical_name = 1;
      Specified by:
      getIndustryVerticalName in interface IndustryVerticalInfoOrBuilder
      Returns:
      The industryVerticalName.
    • getIndustryVerticalNameBytes

      public com.google.protobuf.ByteString getIndustryVerticalNameBytes()
       The name of the Industry Vertical.
       
      string industry_vertical_name = 1;
      Specified by:
      getIndustryVerticalNameBytes in interface IndustryVerticalInfoOrBuilder
      Returns:
      The bytes for industryVerticalName.
    • setIndustryVerticalName

      public IndustryVerticalInfo.Builder setIndustryVerticalName(String value)
       The name of the Industry Vertical.
       
      string industry_vertical_name = 1;
      Parameters:
      value - The industryVerticalName to set.
      Returns:
      This builder for chaining.
    • clearIndustryVerticalName

      public IndustryVerticalInfo.Builder clearIndustryVerticalName()
       The name of the Industry Vertical.
       
      string industry_vertical_name = 1;
      Returns:
      This builder for chaining.
    • setIndustryVerticalNameBytes

      public IndustryVerticalInfo.Builder setIndustryVerticalNameBytes(com.google.protobuf.ByteString value)
       The name of the Industry Vertical.
       
      string industry_vertical_name = 1;
      Parameters:
      value - The bytes for industryVerticalName to set.
      Returns:
      This builder for chaining.
    • getIndustryVerticalId

      public long getIndustryVerticalId()
       The unique identifier of the Industry Vertical.
       
      int64 industry_vertical_id = 2;
      Specified by:
      getIndustryVerticalId in interface IndustryVerticalInfoOrBuilder
      Returns:
      The industryVerticalId.
    • setIndustryVerticalId

      public IndustryVerticalInfo.Builder setIndustryVerticalId(long value)
       The unique identifier of the Industry Vertical.
       
      int64 industry_vertical_id = 2;
      Parameters:
      value - The industryVerticalId to set.
      Returns:
      This builder for chaining.
    • clearIndustryVerticalId

      public IndustryVerticalInfo.Builder clearIndustryVerticalId()
       The unique identifier of the Industry Vertical.
       
      int64 industry_vertical_id = 2;
      Returns:
      This builder for chaining.
    • getParentIndustryVerticalId

      public long getParentIndustryVerticalId()
       The unique identifier of the parent Industry Vertical, if exists.
       
      int64 parent_industry_vertical_id = 3;
      Specified by:
      getParentIndustryVerticalId in interface IndustryVerticalInfoOrBuilder
      Returns:
      The parentIndustryVerticalId.
    • setParentIndustryVerticalId

      public IndustryVerticalInfo.Builder setParentIndustryVerticalId(long value)
       The unique identifier of the parent Industry Vertical, if exists.
       
      int64 parent_industry_vertical_id = 3;
      Parameters:
      value - The parentIndustryVerticalId to set.
      Returns:
      This builder for chaining.
    • clearParentIndustryVerticalId

      public IndustryVerticalInfo.Builder clearParentIndustryVerticalId()
       The unique identifier of the parent Industry Vertical, if exists.
       
      int64 parent_industry_vertical_id = 3;
      Returns:
      This builder for chaining.