Class BusinessProfileLocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
- com.google.ads.googleads.v14.common.BusinessProfileLocation.Builder
-
- All Implemented Interfaces:
BusinessProfileLocationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BusinessProfileLocation
public static final class BusinessProfileLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder> implements BusinessProfileLocationOrBuilder
Business Profile location data synced from the linked Business Profile account.
Protobuf typegoogle.ads.googleads.v14.common.BusinessProfileLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BusinessProfileLocation.BuilderaddAllLabels(java.lang.Iterable<java.lang.String> values)Advertiser specified label for the location on the Business Profile account.BusinessProfileLocation.BuilderaddLabels(java.lang.String value)Advertiser specified label for the location on the Business Profile account.BusinessProfileLocation.BuilderaddLabelsBytes(com.google.protobuf.ByteString value)Advertiser specified label for the location on the Business Profile account.BusinessProfileLocation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BusinessProfileLocationbuild()BusinessProfileLocationbuildPartial()BusinessProfileLocation.Builderclear()BusinessProfileLocation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BusinessProfileLocation.BuilderclearLabels()Advertiser specified label for the location on the Business Profile account.BusinessProfileLocation.BuilderclearListingId()Listing ID of this Business Profile location.BusinessProfileLocation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BusinessProfileLocation.BuilderclearStoreCode()Business Profile store code of this location.BusinessProfileLocation.Builderclone()BusinessProfileLocationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetLabels(int index)Advertiser specified label for the location on the Business Profile account.com.google.protobuf.ByteStringgetLabelsBytes(int index)Advertiser specified label for the location on the Business Profile account.intgetLabelsCount()Advertiser specified label for the location on the Business Profile account.com.google.protobuf.ProtocolStringListgetLabelsList()Advertiser specified label for the location on the Business Profile account.longgetListingId()Listing ID of this Business Profile location.java.lang.StringgetStoreCode()Business Profile store code of this location.com.google.protobuf.ByteStringgetStoreCodeBytes()Business Profile store code of this location.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BusinessProfileLocation.BuildermergeFrom(BusinessProfileLocation other)BusinessProfileLocation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BusinessProfileLocation.BuildermergeFrom(com.google.protobuf.Message other)BusinessProfileLocation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BusinessProfileLocation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BusinessProfileLocation.BuildersetLabels(int index, java.lang.String value)Advertiser specified label for the location on the Business Profile account.BusinessProfileLocation.BuildersetListingId(long value)Listing ID of this Business Profile location.BusinessProfileLocation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)BusinessProfileLocation.BuildersetStoreCode(java.lang.String value)Business Profile store code of this location.BusinessProfileLocation.BuildersetStoreCodeBytes(com.google.protobuf.ByteString value)Business Profile store code of this location.BusinessProfileLocation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
clear
public BusinessProfileLocation.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<BusinessProfileLocation.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.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
getDefaultInstanceForType
public BusinessProfileLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BusinessProfileLocation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BusinessProfileLocation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BusinessProfileLocation.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<BusinessProfileLocation.Builder>
-
setField
public BusinessProfileLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
clearField
public BusinessProfileLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
clearOneof
public BusinessProfileLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
setRepeatedField
public BusinessProfileLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
addRepeatedField
public BusinessProfileLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
mergeFrom
public BusinessProfileLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BusinessProfileLocation.Builder>
-
mergeFrom
public BusinessProfileLocation.Builder mergeFrom(BusinessProfileLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
mergeFrom
public BusinessProfileLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BusinessProfileLocation.Builder>- Throws:
java.io.IOException
-
getLabelsList
public com.google.protobuf.ProtocolStringList getLabelsList()
Advertiser specified label for the location on the Business Profile account. This is synced from the Business Profile account.
repeated string labels = 1;- Specified by:
getLabelsListin interfaceBusinessProfileLocationOrBuilder- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()
Advertiser specified label for the location on the Business Profile account. This is synced from the Business Profile account.
repeated string labels = 1;- Specified by:
getLabelsCountin interfaceBusinessProfileLocationOrBuilder- Returns:
- The count of labels.
-
getLabels
public java.lang.String getLabels(int index)
Advertiser specified label for the location on the Business Profile account. This is synced from the Business Profile account.
repeated string labels = 1;- Specified by:
getLabelsin interfaceBusinessProfileLocationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index)
Advertiser specified label for the location on the Business Profile account. This is synced from the Business Profile account.
repeated string labels = 1;- Specified by:
getLabelsBytesin interfaceBusinessProfileLocationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
setLabels
public BusinessProfileLocation.Builder setLabels(int index, java.lang.String value)
Advertiser specified label for the location on the Business Profile account. This is synced from the Business Profile account.
repeated string labels = 1;- Parameters:
index- The index to set the value at.value- The labels to set.- Returns:
- This builder for chaining.
-
addLabels
public BusinessProfileLocation.Builder addLabels(java.lang.String value)
Advertiser specified label for the location on the Business Profile account. This is synced from the Business Profile account.
repeated string labels = 1;- Parameters:
value- The labels to add.- Returns:
- This builder for chaining.
-
addAllLabels
public BusinessProfileLocation.Builder addAllLabels(java.lang.Iterable<java.lang.String> values)
Advertiser specified label for the location on the Business Profile account. This is synced from the Business Profile account.
repeated string labels = 1;- Parameters:
values- The labels to add.- Returns:
- This builder for chaining.
-
clearLabels
public BusinessProfileLocation.Builder clearLabels()
Advertiser specified label for the location on the Business Profile account. This is synced from the Business Profile account.
repeated string labels = 1;- Returns:
- This builder for chaining.
-
addLabelsBytes
public BusinessProfileLocation.Builder addLabelsBytes(com.google.protobuf.ByteString value)
Advertiser specified label for the location on the Business Profile account. This is synced from the Business Profile account.
repeated string labels = 1;- Parameters:
value- The bytes of the labels to add.- Returns:
- This builder for chaining.
-
getStoreCode
public java.lang.String getStoreCode()
Business Profile store code of this location. This is synced from the Business Profile account.
string store_code = 2;- Specified by:
getStoreCodein interfaceBusinessProfileLocationOrBuilder- Returns:
- The storeCode.
-
getStoreCodeBytes
public com.google.protobuf.ByteString getStoreCodeBytes()
Business Profile store code of this location. This is synced from the Business Profile account.
string store_code = 2;- Specified by:
getStoreCodeBytesin interfaceBusinessProfileLocationOrBuilder- Returns:
- The bytes for storeCode.
-
setStoreCode
public BusinessProfileLocation.Builder setStoreCode(java.lang.String value)
Business Profile store code of this location. This is synced from the Business Profile account.
string store_code = 2;- Parameters:
value- The storeCode to set.- Returns:
- This builder for chaining.
-
clearStoreCode
public BusinessProfileLocation.Builder clearStoreCode()
Business Profile store code of this location. This is synced from the Business Profile account.
string store_code = 2;- Returns:
- This builder for chaining.
-
setStoreCodeBytes
public BusinessProfileLocation.Builder setStoreCodeBytes(com.google.protobuf.ByteString value)
Business Profile store code of this location. This is synced from the Business Profile account.
string store_code = 2;- Parameters:
value- The bytes for storeCode to set.- Returns:
- This builder for chaining.
-
getListingId
public long getListingId()
Listing ID of this Business Profile location. This is synced from the linked Business Profile account.
int64 listing_id = 3;- Specified by:
getListingIdin interfaceBusinessProfileLocationOrBuilder- Returns:
- The listingId.
-
setListingId
public BusinessProfileLocation.Builder setListingId(long value)
Listing ID of this Business Profile location. This is synced from the linked Business Profile account.
int64 listing_id = 3;- Parameters:
value- The listingId to set.- Returns:
- This builder for chaining.
-
clearListingId
public BusinessProfileLocation.Builder clearListingId()
Listing ID of this Business Profile location. This is synced from the linked Business Profile account.
int64 listing_id = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final BusinessProfileLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
mergeUnknownFields
public final BusinessProfileLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
-