Class BenchmarksSourceMetadata.Builder

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

public static final class BenchmarksSourceMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<BenchmarksSourceMetadata.Builder> implements BenchmarksSourceMetadataOrBuilder
 The metadata associated with a benchmarks source.
 
Protobuf type google.ads.googleads.v23.services.BenchmarksSourceMetadata
  • 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<BenchmarksSourceMetadata.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<BenchmarksSourceMetadata.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<BenchmarksSourceMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

      public BenchmarksSourceMetadata.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<BenchmarksSourceMetadata.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<BenchmarksSourceMetadata.Builder>
    • mergeFrom

      public BenchmarksSourceMetadata.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<BenchmarksSourceMetadata.Builder>
      Throws:
      IOException
    • getBenchmarksSourceInfoCase

      public BenchmarksSourceMetadata.BenchmarksSourceInfoCase getBenchmarksSourceInfoCase()
      Specified by:
      getBenchmarksSourceInfoCase in interface BenchmarksSourceMetadataOrBuilder
    • clearBenchmarksSourceInfo

      public BenchmarksSourceMetadata.Builder clearBenchmarksSourceInfo()
    • getBenchmarksSourceTypeValue

      public int getBenchmarksSourceTypeValue()
       The type of benchmarks source.
       
      .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_source_type = 1;
      Specified by:
      getBenchmarksSourceTypeValue in interface BenchmarksSourceMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for benchmarksSourceType.
    • setBenchmarksSourceTypeValue

      public BenchmarksSourceMetadata.Builder setBenchmarksSourceTypeValue(int value)
       The type of benchmarks source.
       
      .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_source_type = 1;
      Parameters:
      value - The enum numeric value on the wire for benchmarksSourceType to set.
      Returns:
      This builder for chaining.
    • getBenchmarksSourceType

      public BenchmarksSourceTypeEnum.BenchmarksSourceType getBenchmarksSourceType()
       The type of benchmarks source.
       
      .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_source_type = 1;
      Specified by:
      getBenchmarksSourceType in interface BenchmarksSourceMetadataOrBuilder
      Returns:
      The benchmarksSourceType.
    • setBenchmarksSourceType

       The type of benchmarks source.
       
      .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_source_type = 1;
      Parameters:
      value - The benchmarksSourceType to set.
      Returns:
      This builder for chaining.
    • clearBenchmarksSourceType

      public BenchmarksSourceMetadata.Builder clearBenchmarksSourceType()
       The type of benchmarks source.
       
      .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_source_type = 1;
      Returns:
      This builder for chaining.
    • hasIndustryVerticalInfo

      public boolean hasIndustryVerticalInfo()
       Information on the Industry Vertical.
       
      .google.ads.googleads.v23.services.IndustryVerticalInfo industry_vertical_info = 2;
      Specified by:
      hasIndustryVerticalInfo in interface BenchmarksSourceMetadataOrBuilder
      Returns:
      Whether the industryVerticalInfo field is set.
    • getIndustryVerticalInfo

      public IndustryVerticalInfo getIndustryVerticalInfo()
       Information on the Industry Vertical.
       
      .google.ads.googleads.v23.services.IndustryVerticalInfo industry_vertical_info = 2;
      Specified by:
      getIndustryVerticalInfo in interface BenchmarksSourceMetadataOrBuilder
      Returns:
      The industryVerticalInfo.
    • setIndustryVerticalInfo

      public BenchmarksSourceMetadata.Builder setIndustryVerticalInfo(IndustryVerticalInfo value)
       Information on the Industry Vertical.
       
      .google.ads.googleads.v23.services.IndustryVerticalInfo industry_vertical_info = 2;
    • setIndustryVerticalInfo

      public BenchmarksSourceMetadata.Builder setIndustryVerticalInfo(IndustryVerticalInfo.Builder builderForValue)
       Information on the Industry Vertical.
       
      .google.ads.googleads.v23.services.IndustryVerticalInfo industry_vertical_info = 2;
    • mergeIndustryVerticalInfo

      public BenchmarksSourceMetadata.Builder mergeIndustryVerticalInfo(IndustryVerticalInfo value)
       Information on the Industry Vertical.
       
      .google.ads.googleads.v23.services.IndustryVerticalInfo industry_vertical_info = 2;
    • clearIndustryVerticalInfo

      public BenchmarksSourceMetadata.Builder clearIndustryVerticalInfo()
       Information on the Industry Vertical.
       
      .google.ads.googleads.v23.services.IndustryVerticalInfo industry_vertical_info = 2;
    • getIndustryVerticalInfoBuilder

      public IndustryVerticalInfo.Builder getIndustryVerticalInfoBuilder()
       Information on the Industry Vertical.
       
      .google.ads.googleads.v23.services.IndustryVerticalInfo industry_vertical_info = 2;
    • getIndustryVerticalInfoOrBuilder

      public IndustryVerticalInfoOrBuilder getIndustryVerticalInfoOrBuilder()
       Information on the Industry Vertical.
       
      .google.ads.googleads.v23.services.IndustryVerticalInfo industry_vertical_info = 2;
      Specified by:
      getIndustryVerticalInfoOrBuilder in interface BenchmarksSourceMetadataOrBuilder