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.v18.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,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 type
google.ads.googleads.v18.common.BusinessProfileLocation-
Method Summary
Modifier and TypeMethodDescriptionaddAllLabels(Iterable<String> values) Advertiser specified label for the location on the Business Profile account.Advertiser specified label for the location on the Business Profile account.addLabelsBytes(com.google.protobuf.ByteString value) Advertiser specified label for the location on the Business Profile account.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Advertiser specified label for the location on the Business Profile account.Listing ID of this Business Profile location.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Business Profile store code of this location.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLabels(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.intAdvertiser specified label for the location on the Business Profile account.com.google.protobuf.ProtocolStringListAdvertiser specified label for the location on the Business Profile account.longListing ID of this Business Profile location.Business Profile store code of this location.com.google.protobuf.ByteStringBusiness Profile store code of this location.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(BusinessProfileLocation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Advertiser specified label for the location on the Business Profile account.setListingId(long value) Listing ID of this Business Profile location.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStoreCode(String value) Business Profile store code of this location.setStoreCodeBytes(com.google.protobuf.ByteString value) Business Profile store code of this location.setUnknownFields(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, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<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
- 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<BusinessProfileLocation.Builder>
-
setField
public BusinessProfileLocation.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<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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BusinessProfileLocation.Builder>
-
mergeFrom
-
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 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:
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
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
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
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
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
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
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
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
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
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
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
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
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>
-