Class ListBenchmarksSourcesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListBenchmarksSourcesRequest.Builder>
com.google.ads.googleads.v23.services.ListBenchmarksSourcesRequest.Builder
- All Implemented Interfaces:
ListBenchmarksSourcesRequestOrBuilder,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.GeneratedMessage.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 Summary
Modifier and TypeMethodDescriptionaddAllBenchmarksSources(Iterable<? extends BenchmarksSourceTypeEnum.BenchmarksSourceType> values) Required.addAllBenchmarksSourcesValue(Iterable<Integer> values) Required.Required.addBenchmarksSourcesValue(int value) Required.build()clear()Additional information on the application issuing the request.Required.Additional information on the application issuing the request.Additional information on the application issuing the request.Additional information on the application issuing the request.getBenchmarksSources(int index) Required.intRequired.Required.intgetBenchmarksSourcesValue(int index) Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanAdditional information on the application issuing the request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanAdditional information on the application issuing the request.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Additional information on the application issuing the request.setApplicationInfo(AdditionalApplicationInfo.Builder builderForValue) Additional information on the application issuing the request.setBenchmarksSources(int index, BenchmarksSourceTypeEnum.BenchmarksSourceType value) Required.setBenchmarksSourcesValue(int index, int value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListBenchmarksSourcesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListBenchmarksSourcesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListBenchmarksSourcesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListBenchmarksSourcesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListBenchmarksSourcesRequest.Builder>
-
mergeFrom
public ListBenchmarksSourcesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListBenchmarksSourcesRequest.Builder>- Throws:
IOException
-
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:
getBenchmarksSourcesListin interfaceListBenchmarksSourcesRequestOrBuilder- 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:
getBenchmarksSourcesCountin interfaceListBenchmarksSourcesRequestOrBuilder- Returns:
- The count of benchmarksSources.
-
getBenchmarksSources
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:
getBenchmarksSourcesin interfaceListBenchmarksSourcesRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The benchmarksSources at the given index.
-
setBenchmarksSources
public ListBenchmarksSourcesRequest.Builder setBenchmarksSources(int index, BenchmarksSourceTypeEnum.BenchmarksSourceType 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 benchmarksSources to set.- Returns:
- This builder for chaining.
-
addBenchmarksSources
public ListBenchmarksSourcesRequest.Builder addBenchmarksSources(BenchmarksSourceTypeEnum.BenchmarksSourceType 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 benchmarksSources to add.- Returns:
- This builder for chaining.
-
addAllBenchmarksSources
public ListBenchmarksSourcesRequest.Builder addAllBenchmarksSources(Iterable<? extends BenchmarksSourceTypeEnum.BenchmarksSourceType> 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 benchmarksSources to add.- Returns:
- This builder for chaining.
-
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
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:
getBenchmarksSourcesValueListin interfaceListBenchmarksSourcesRequestOrBuilder- 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:
getBenchmarksSourcesValuein interfaceListBenchmarksSourcesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of benchmarksSources at the given index.
-
setBenchmarksSourcesValue
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
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
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:
hasApplicationInfoin interfaceListBenchmarksSourcesRequestOrBuilder- Returns:
- Whether the applicationInfo field is set.
-
getApplicationInfo
Additional information on the application issuing the request.
.google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2;- Specified by:
getApplicationInfoin interfaceListBenchmarksSourcesRequestOrBuilder- 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
Additional information on the application issuing the request.
.google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2; -
getApplicationInfoBuilder
Additional information on the application issuing the request.
.google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2; -
getApplicationInfoOrBuilder
Additional information on the application issuing the request.
.google.ads.googleads.v23.common.AdditionalApplicationInfo application_info = 2;- Specified by:
getApplicationInfoOrBuilderin interfaceListBenchmarksSourcesRequestOrBuilder
-