Class AffiliateLocationFeedItem
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.AffiliateLocationFeedItem
-
- All Implemented Interfaces:
AffiliateLocationFeedItemOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class AffiliateLocationFeedItem extends com.google.protobuf.GeneratedMessageV3 implements AffiliateLocationFeedItemOrBuilder
Represents an affiliate location extension.
Protobuf typegoogle.ads.googleads.v10.common.AffiliateLocationFeedItem- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAffiliateLocationFeedItem.BuilderRepresents an affiliate location extension.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADDRESS_LINE_1_FIELD_NUMBERstatic intADDRESS_LINE_2_FIELD_NUMBERstatic intBUSINESS_NAME_FIELD_NUMBERstatic intCHAIN_ID_FIELD_NUMBERstatic intCHAIN_NAME_FIELD_NUMBERstatic intCITY_FIELD_NUMBERstatic intCOUNTRY_CODE_FIELD_NUMBERstatic intPHONE_NUMBER_FIELD_NUMBERstatic intPOSTAL_CODE_FIELD_NUMBERstatic intPROVINCE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAddressLine1()Line 1 of the business address.com.google.protobuf.ByteStringgetAddressLine1Bytes()Line 1 of the business address.java.lang.StringgetAddressLine2()Line 2 of the business address.com.google.protobuf.ByteStringgetAddressLine2Bytes()Line 2 of the business address.java.lang.StringgetBusinessName()The name of the business.com.google.protobuf.ByteStringgetBusinessNameBytes()The name of the business.longgetChainId()Id of the retail chain that is advertised as a seller of your product.java.lang.StringgetChainName()Name of chain.com.google.protobuf.ByteStringgetChainNameBytes()Name of chain.java.lang.StringgetCity()City of the business address.com.google.protobuf.ByteStringgetCityBytes()City of the business address.java.lang.StringgetCountryCode()Country code of the business address.com.google.protobuf.ByteStringgetCountryCodeBytes()Country code of the business address.static AffiliateLocationFeedItemgetDefaultInstance()AffiliateLocationFeedItemgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<AffiliateLocationFeedItem>getParserForType()java.lang.StringgetPhoneNumber()Phone number of the business.com.google.protobuf.ByteStringgetPhoneNumberBytes()Phone number of the business.java.lang.StringgetPostalCode()Postal code of the business address.com.google.protobuf.ByteStringgetPostalCodeBytes()Postal code of the business address.java.lang.StringgetProvince()Province of the business address.com.google.protobuf.ByteStringgetProvinceBytes()Province of the business address.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAddressLine1()Line 1 of the business address.booleanhasAddressLine2()Line 2 of the business address.booleanhasBusinessName()The name of the business.booleanhasChainId()Id of the retail chain that is advertised as a seller of your product.booleanhasChainName()Name of chain.booleanhasCity()City of the business address.booleanhasCountryCode()Country code of the business address.inthashCode()booleanhasPhoneNumber()Phone number of the business.booleanhasPostalCode()Postal code of the business address.booleanhasProvince()Province of the business address.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AffiliateLocationFeedItem.BuildernewBuilder()static AffiliateLocationFeedItem.BuildernewBuilder(AffiliateLocationFeedItem prototype)AffiliateLocationFeedItem.BuildernewBuilderForType()protected AffiliateLocationFeedItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AffiliateLocationFeedItemparseDelimitedFrom(java.io.InputStream input)static AffiliateLocationFeedItemparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AffiliateLocationFeedItemparseFrom(byte[] data)static AffiliateLocationFeedItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AffiliateLocationFeedItemparseFrom(com.google.protobuf.ByteString data)static AffiliateLocationFeedItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AffiliateLocationFeedItemparseFrom(com.google.protobuf.CodedInputStream input)static AffiliateLocationFeedItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AffiliateLocationFeedItemparseFrom(java.io.InputStream input)static AffiliateLocationFeedItemparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AffiliateLocationFeedItemparseFrom(java.nio.ByteBuffer data)static AffiliateLocationFeedItemparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AffiliateLocationFeedItem>parser()AffiliateLocationFeedItem.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
BUSINESS_NAME_FIELD_NUMBER
public static final int BUSINESS_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDRESS_LINE_1_FIELD_NUMBER
public static final int ADDRESS_LINE_1_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDRESS_LINE_2_FIELD_NUMBER
public static final int ADDRESS_LINE_2_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CITY_FIELD_NUMBER
public static final int CITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROVINCE_FIELD_NUMBER
public static final int PROVINCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSTAL_CODE_FIELD_NUMBER
public static final int POSTAL_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COUNTRY_CODE_FIELD_NUMBER
public static final int COUNTRY_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHONE_NUMBER_FIELD_NUMBER
public static final int PHONE_NUMBER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHAIN_ID_FIELD_NUMBER
public static final int CHAIN_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHAIN_NAME_FIELD_NUMBER
public static final int CHAIN_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasBusinessName
public boolean hasBusinessName()
The name of the business.
optional string business_name = 11;- Specified by:
hasBusinessNamein interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- Whether the businessName field is set.
-
getBusinessName
public java.lang.String getBusinessName()
The name of the business.
optional string business_name = 11;- Specified by:
getBusinessNamein interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The businessName.
-
getBusinessNameBytes
public com.google.protobuf.ByteString getBusinessNameBytes()
The name of the business.
optional string business_name = 11;- Specified by:
getBusinessNameBytesin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The bytes for businessName.
-
hasAddressLine1
public boolean hasAddressLine1()
Line 1 of the business address.
optional string address_line_1 = 12;- Specified by:
hasAddressLine1in interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- Whether the addressLine1 field is set.
-
getAddressLine1
public java.lang.String getAddressLine1()
Line 1 of the business address.
optional string address_line_1 = 12;- Specified by:
getAddressLine1in interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The addressLine1.
-
getAddressLine1Bytes
public com.google.protobuf.ByteString getAddressLine1Bytes()
Line 1 of the business address.
optional string address_line_1 = 12;- Specified by:
getAddressLine1Bytesin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The bytes for addressLine1.
-
hasAddressLine2
public boolean hasAddressLine2()
Line 2 of the business address.
optional string address_line_2 = 13;- Specified by:
hasAddressLine2in interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- Whether the addressLine2 field is set.
-
getAddressLine2
public java.lang.String getAddressLine2()
Line 2 of the business address.
optional string address_line_2 = 13;- Specified by:
getAddressLine2in interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The addressLine2.
-
getAddressLine2Bytes
public com.google.protobuf.ByteString getAddressLine2Bytes()
Line 2 of the business address.
optional string address_line_2 = 13;- Specified by:
getAddressLine2Bytesin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The bytes for addressLine2.
-
hasCity
public boolean hasCity()
City of the business address.
optional string city = 14;- Specified by:
hasCityin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- Whether the city field is set.
-
getCity
public java.lang.String getCity()
City of the business address.
optional string city = 14;- Specified by:
getCityin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The city.
-
getCityBytes
public com.google.protobuf.ByteString getCityBytes()
City of the business address.
optional string city = 14;- Specified by:
getCityBytesin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The bytes for city.
-
hasProvince
public boolean hasProvince()
Province of the business address.
optional string province = 15;- Specified by:
hasProvincein interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- Whether the province field is set.
-
getProvince
public java.lang.String getProvince()
Province of the business address.
optional string province = 15;- Specified by:
getProvincein interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The province.
-
getProvinceBytes
public com.google.protobuf.ByteString getProvinceBytes()
Province of the business address.
optional string province = 15;- Specified by:
getProvinceBytesin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The bytes for province.
-
hasPostalCode
public boolean hasPostalCode()
Postal code of the business address.
optional string postal_code = 16;- Specified by:
hasPostalCodein interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- Whether the postalCode field is set.
-
getPostalCode
public java.lang.String getPostalCode()
Postal code of the business address.
optional string postal_code = 16;- Specified by:
getPostalCodein interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The postalCode.
-
getPostalCodeBytes
public com.google.protobuf.ByteString getPostalCodeBytes()
Postal code of the business address.
optional string postal_code = 16;- Specified by:
getPostalCodeBytesin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The bytes for postalCode.
-
hasCountryCode
public boolean hasCountryCode()
Country code of the business address.
optional string country_code = 17;- Specified by:
hasCountryCodein interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- Whether the countryCode field is set.
-
getCountryCode
public java.lang.String getCountryCode()
Country code of the business address.
optional string country_code = 17;- Specified by:
getCountryCodein interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The countryCode.
-
getCountryCodeBytes
public com.google.protobuf.ByteString getCountryCodeBytes()
Country code of the business address.
optional string country_code = 17;- Specified by:
getCountryCodeBytesin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The bytes for countryCode.
-
hasPhoneNumber
public boolean hasPhoneNumber()
Phone number of the business.
optional string phone_number = 18;- Specified by:
hasPhoneNumberin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- Whether the phoneNumber field is set.
-
getPhoneNumber
public java.lang.String getPhoneNumber()
Phone number of the business.
optional string phone_number = 18;- Specified by:
getPhoneNumberin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The phoneNumber.
-
getPhoneNumberBytes
public com.google.protobuf.ByteString getPhoneNumberBytes()
Phone number of the business.
optional string phone_number = 18;- Specified by:
getPhoneNumberBytesin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The bytes for phoneNumber.
-
hasChainId
public boolean hasChainId()
Id of the retail chain that is advertised as a seller of your product.
optional int64 chain_id = 19;- Specified by:
hasChainIdin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- Whether the chainId field is set.
-
getChainId
public long getChainId()
Id of the retail chain that is advertised as a seller of your product.
optional int64 chain_id = 19;- Specified by:
getChainIdin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The chainId.
-
hasChainName
public boolean hasChainName()
Name of chain.
optional string chain_name = 20;- Specified by:
hasChainNamein interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- Whether the chainName field is set.
-
getChainName
public java.lang.String getChainName()
Name of chain.
optional string chain_name = 20;- Specified by:
getChainNamein interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The chainName.
-
getChainNameBytes
public com.google.protobuf.ByteString getChainNameBytes()
Name of chain.
optional string chain_name = 20;- Specified by:
getChainNameBytesin interfaceAffiliateLocationFeedItemOrBuilder- Returns:
- The bytes for chainName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AffiliateLocationFeedItem parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AffiliateLocationFeedItem parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AffiliateLocationFeedItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AffiliateLocationFeedItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AffiliateLocationFeedItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AffiliateLocationFeedItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AffiliateLocationFeedItem parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AffiliateLocationFeedItem parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AffiliateLocationFeedItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AffiliateLocationFeedItem parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AffiliateLocationFeedItem parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AffiliateLocationFeedItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public AffiliateLocationFeedItem.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AffiliateLocationFeedItem.Builder newBuilder()
-
newBuilder
public static AffiliateLocationFeedItem.Builder newBuilder(AffiliateLocationFeedItem prototype)
-
toBuilder
public AffiliateLocationFeedItem.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AffiliateLocationFeedItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AffiliateLocationFeedItem getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AffiliateLocationFeedItem> parser()
-
getParserForType
public com.google.protobuf.Parser<AffiliateLocationFeedItem> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AffiliateLocationFeedItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-