Class BenchmarksLocation.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<BenchmarksLocation.Builder>
com.google.ads.googleads.v23.services.BenchmarksLocation.Builder
- All Implemented Interfaces:
BenchmarksLocationOrBuilder,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:
- BenchmarksLocation
public static final class BenchmarksLocation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BenchmarksLocation.Builder>
implements BenchmarksLocationOrBuilder
A location that supports benchmarks data.Protobuf type
google.ads.googleads.v23.services.BenchmarksLocation-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Information on the geographic location, including the location ID.The unique location name in English.The location's type.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorInformation on the geographic location, including the location ID.Information on the geographic location, including the location ID.Information on the geographic location, including the location ID.The unique location name in English.com.google.protobuf.ByteStringThe unique location name in English.The location's type.com.google.protobuf.ByteStringThe location's type.booleanInformation on the geographic location, including the location ID.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(BenchmarksLocation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLocationInfo(LocationInfo value) Information on the geographic location, including the location ID.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setLocationInfo(LocationInfo value) Information on the geographic location, including the location ID.setLocationInfo(LocationInfo.Builder builderForValue) Information on the geographic location, including the location ID.setLocationName(String value) The unique location name in English.setLocationNameBytes(com.google.protobuf.ByteString value) The unique location name in English.setLocationType(String value) The location's type.setLocationTypeBytes(com.google.protobuf.ByteString value) The location's type.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getParentForChildrenMethods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension, setExtension, setExtensionMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, 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.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, hasExtension, hasExtensionMethods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Overrides:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BenchmarksLocation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BenchmarksLocation.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<BenchmarksLocation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>- 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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BenchmarksLocation.Builder>
-
setField
public BenchmarksLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BenchmarksLocation.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BenchmarksLocation.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BenchmarksLocation.Builder>
-
setRepeatedField
public BenchmarksLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BenchmarksLocation.Builder>
-
addRepeatedField
public BenchmarksLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BenchmarksLocation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BenchmarksLocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BenchmarksLocation.Builder>
-
mergeFrom
public BenchmarksLocation.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<BenchmarksLocation.Builder>- Throws:
IOException
-
getLocationName
The unique location name in English.
string location_name = 1;- Specified by:
getLocationNamein interfaceBenchmarksLocationOrBuilder- Returns:
- The locationName.
-
getLocationNameBytes
public com.google.protobuf.ByteString getLocationNameBytes()The unique location name in English.
string location_name = 1;- Specified by:
getLocationNameBytesin interfaceBenchmarksLocationOrBuilder- Returns:
- The bytes for locationName.
-
setLocationName
The unique location name in English.
string location_name = 1;- Parameters:
value- The locationName to set.- Returns:
- This builder for chaining.
-
clearLocationName
The unique location name in English.
string location_name = 1;- Returns:
- This builder for chaining.
-
setLocationNameBytes
The unique location name in English.
string location_name = 1;- Parameters:
value- The bytes for locationName to set.- Returns:
- This builder for chaining.
-
getLocationType
The location's type. Location types correspond to target_type returned by searching location type in GoogleAdsService.Search/SearchStream.
string location_type = 2;- Specified by:
getLocationTypein interfaceBenchmarksLocationOrBuilder- Returns:
- The locationType.
-
getLocationTypeBytes
public com.google.protobuf.ByteString getLocationTypeBytes()The location's type. Location types correspond to target_type returned by searching location type in GoogleAdsService.Search/SearchStream.
string location_type = 2;- Specified by:
getLocationTypeBytesin interfaceBenchmarksLocationOrBuilder- Returns:
- The bytes for locationType.
-
setLocationType
The location's type. Location types correspond to target_type returned by searching location type in GoogleAdsService.Search/SearchStream.
string location_type = 2;- Parameters:
value- The locationType to set.- Returns:
- This builder for chaining.
-
clearLocationType
The location's type. Location types correspond to target_type returned by searching location type in GoogleAdsService.Search/SearchStream.
string location_type = 2;- Returns:
- This builder for chaining.
-
setLocationTypeBytes
The location's type. Location types correspond to target_type returned by searching location type in GoogleAdsService.Search/SearchStream.
string location_type = 2;- Parameters:
value- The bytes for locationType to set.- Returns:
- This builder for chaining.
-
hasLocationInfo
public boolean hasLocationInfo()Information on the geographic location, including the location ID.
.google.ads.googleads.v23.common.LocationInfo location_info = 3;- Specified by:
hasLocationInfoin interfaceBenchmarksLocationOrBuilder- Returns:
- Whether the locationInfo field is set.
-
getLocationInfo
Information on the geographic location, including the location ID.
.google.ads.googleads.v23.common.LocationInfo location_info = 3;- Specified by:
getLocationInfoin interfaceBenchmarksLocationOrBuilder- Returns:
- The locationInfo.
-
setLocationInfo
Information on the geographic location, including the location ID.
.google.ads.googleads.v23.common.LocationInfo location_info = 3; -
setLocationInfo
Information on the geographic location, including the location ID.
.google.ads.googleads.v23.common.LocationInfo location_info = 3; -
mergeLocationInfo
Information on the geographic location, including the location ID.
.google.ads.googleads.v23.common.LocationInfo location_info = 3; -
clearLocationInfo
Information on the geographic location, including the location ID.
.google.ads.googleads.v23.common.LocationInfo location_info = 3; -
getLocationInfoBuilder
Information on the geographic location, including the location ID.
.google.ads.googleads.v23.common.LocationInfo location_info = 3; -
getLocationInfoOrBuilder
Information on the geographic location, including the location ID.
.google.ads.googleads.v23.common.LocationInfo location_info = 3;- Specified by:
getLocationInfoOrBuilderin interfaceBenchmarksLocationOrBuilder
-
setUnknownFields
public final BenchmarksLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BenchmarksLocation.Builder>
-
mergeUnknownFields
public final BenchmarksLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BenchmarksLocation.Builder>
-