Class ListBenchmarksSourcesRequest.Builder

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

public static final class ListBenchmarksSourcesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListBenchmarksSourcesRequest.Builder> implements ListBenchmarksSourcesRequestOrBuilder
 Request message for
 [BenchmarksService.ListBenchmarksSources][google.ads.googleads.v23.services.BenchmarksService.ListBenchmarksSources].
 
Protobuf type google.ads.googleads.v23.services.ListBenchmarksSourcesRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListBenchmarksSourcesRequest.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.GeneratedMessageV3.Builder<ListBenchmarksSourcesRequest.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<ListBenchmarksSourcesRequest.Builder>
    • getDefaultInstanceForType

      public ListBenchmarksSourcesRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListBenchmarksSourcesRequest.Builder>
    • setField

      public ListBenchmarksSourcesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBenchmarksSourcesRequest.Builder>
    • clearField

      public ListBenchmarksSourcesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBenchmarksSourcesRequest.Builder>
    • clearOneof

      public ListBenchmarksSourcesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListBenchmarksSourcesRequest.Builder>
    • setRepeatedField

      public ListBenchmarksSourcesRequest.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<ListBenchmarksSourcesRequest.Builder>
    • addRepeatedField

      public ListBenchmarksSourcesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBenchmarksSourcesRequest.Builder>
    • mergeFrom

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

    • isInitialized

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

      public ListBenchmarksSourcesRequest.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<ListBenchmarksSourcesRequest.Builder>
      Throws:
      IOException
    • getBenchmarksSourcesList

      public List<BenchmarksSourceTypeEnum.BenchmarksSourceType> getBenchmarksSourcesList()
       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBenchmarksSourcesList in interface ListBenchmarksSourcesRequestOrBuilder
      Returns:
      A list containing the benchmarksSources.
    • getBenchmarksSourcesCount

      public int getBenchmarksSourcesCount()
       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBenchmarksSourcesCount in interface ListBenchmarksSourcesRequestOrBuilder
      Returns:
      The count of benchmarksSources.
    • getBenchmarksSources

      public BenchmarksSourceTypeEnum.BenchmarksSourceType getBenchmarksSources(int index)
       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBenchmarksSources in interface ListBenchmarksSourcesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The benchmarksSources at the given index.
    • setBenchmarksSources

       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index to set the value at.
      value - The benchmarksSources to set.
      Returns:
      This builder for chaining.
    • addBenchmarksSources

       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The benchmarksSources to add.
      Returns:
      This builder for chaining.
    • addAllBenchmarksSources

       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      values - The benchmarksSources to add.
      Returns:
      This builder for chaining.
    • clearBenchmarksSources

      public ListBenchmarksSourcesRequest.Builder clearBenchmarksSources()
       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getBenchmarksSourcesValueList

      public List<Integer> getBenchmarksSourcesValueList()
       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBenchmarksSourcesValueList in interface ListBenchmarksSourcesRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for benchmarksSources.
    • getBenchmarksSourcesValue

      public int getBenchmarksSourcesValue(int index)
       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBenchmarksSourcesValue in interface ListBenchmarksSourcesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of benchmarksSources at the given index.
    • setBenchmarksSourcesValue

      public ListBenchmarksSourcesRequest.Builder setBenchmarksSourcesValue(int index, int value)
       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for benchmarksSources to set.
      Returns:
      This builder for chaining.
    • addBenchmarksSourcesValue

      public ListBenchmarksSourcesRequest.Builder addBenchmarksSourcesValue(int value)
       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for benchmarksSources to add.
      Returns:
      This builder for chaining.
    • addAllBenchmarksSourcesValue

      public ListBenchmarksSourcesRequest.Builder addAllBenchmarksSourcesValue(Iterable<Integer> values)
       Required. The types of benchmarks sources to be returned (for example,
       INDUSTRY_VERTICAL).
       
      repeated .google.ads.googleads.v23.enums.BenchmarksSourceTypeEnum.BenchmarksSourceType benchmarks_sources = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      values - The enum numeric values on the wire for benchmarksSources to add.
      Returns:
      This builder for chaining.
    • hasApplicationInfo

      public boolean hasApplicationInfo()
       Additional information on the application issuing the request.
       
      .google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2;
      Specified by:
      hasApplicationInfo in interface ListBenchmarksSourcesRequestOrBuilder
      Returns:
      Whether the applicationInfo field is set.
    • getApplicationInfo

      public AdditionalApplicationInfo getApplicationInfo()
       Additional information on the application issuing the request.
       
      .google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2;
      Specified by:
      getApplicationInfo in interface ListBenchmarksSourcesRequestOrBuilder
      Returns:
      The applicationInfo.
    • setApplicationInfo

       Additional information on the application issuing the request.
       
      .google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2;
    • setApplicationInfo

      public ListBenchmarksSourcesRequest.Builder setApplicationInfo(AdditionalApplicationInfo.Builder builderForValue)
       Additional information on the application issuing the request.
       
      .google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2;
    • mergeApplicationInfo

       Additional information on the application issuing the request.
       
      .google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2;
    • clearApplicationInfo

      public ListBenchmarksSourcesRequest.Builder clearApplicationInfo()
       Additional information on the application issuing the request.
       
      .google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2;
    • getApplicationInfoBuilder

      public AdditionalApplicationInfo.Builder getApplicationInfoBuilder()
       Additional information on the application issuing the request.
       
      .google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2;
    • getApplicationInfoOrBuilder

      public AdditionalApplicationInfoOrBuilder getApplicationInfoOrBuilder()
       Additional information on the application issuing the request.
       
      .google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2;
      Specified by:
      getApplicationInfoOrBuilder in interface ListBenchmarksSourcesRequestOrBuilder
    • setUnknownFields

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

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