Class ListBenchmarksSourcesRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v23.services.ListBenchmarksSourcesRequest
All Implemented Interfaces:
ListBenchmarksSourcesRequestOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class ListBenchmarksSourcesRequest extends com.google.protobuf.GeneratedMessageV3 implements ListBenchmarksSourcesRequestOrBuilder
 Request message for
 [BenchmarksService.ListBenchmarksSources][google.ads.googleads.v23.services.BenchmarksService.ListBenchmarksSources].
 
Protobuf type google.ads.googleads.v23.services.ListBenchmarksSourcesRequest
See Also:
  • Field Details

    • BENCHMARKS_SOURCES_FIELD_NUMBER

      public static final int BENCHMARKS_SOURCES_FIELD_NUMBER
      See Also:
    • APPLICATION_INFO_FIELD_NUMBER

      public static final int APPLICATION_INFO_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ListBenchmarksSourcesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListBenchmarksSourcesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListBenchmarksSourcesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListBenchmarksSourcesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListBenchmarksSourcesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListBenchmarksSourcesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ListBenchmarksSourcesRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListBenchmarksSourcesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ListBenchmarksSourcesRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ListBenchmarksSourcesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListBenchmarksSourcesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ListBenchmarksSourcesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ListBenchmarksSourcesRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ListBenchmarksSourcesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ListBenchmarksSourcesRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ListBenchmarksSourcesRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<ListBenchmarksSourcesRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • 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