Class PriceOffering
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.PriceOffering
- All Implemented Interfaces:
PriceOfferingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PriceOffering
extends com.google.protobuf.GeneratedMessageV3
implements PriceOfferingOrBuilder
A single price offering within a PriceAsset.Protobuf type
google.ads.googleads.v18.common.PriceOffering- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA single price offering within a PriceAsset.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PriceOfferingRequired.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.DescriptorThe final mobile URL after all cross domain redirects.com.google.protobuf.ByteStringThe final mobile URL after all cross domain redirects.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<PriceOffering>getPrice()Required.Required.intgetUnit()The price unit of the price offering.intThe price unit of the price offering.inthashCode()booleanhasPrice()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic PriceOffering.Builderstatic PriceOffering.BuildernewBuilder(PriceOffering prototype) protected PriceOffering.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PriceOfferingparseDelimitedFrom(InputStream input) static PriceOfferingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PriceOfferingparseFrom(byte[] data) static PriceOfferingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PriceOfferingparseFrom(com.google.protobuf.ByteString data) static PriceOfferingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PriceOfferingparseFrom(com.google.protobuf.CodedInputStream input) static PriceOfferingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PriceOfferingparseFrom(InputStream input) static PriceOfferingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PriceOfferingparseFrom(ByteBuffer data) static PriceOfferingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PriceOffering>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
PRICE_FIELD_NUMBER
public static final int PRICE_FIELD_NUMBER- See Also:
-
UNIT_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER- See Also:
-
FINAL_URL_FIELD_NUMBER
public static final int FINAL_URL_FIELD_NUMBER- See Also:
-
FINAL_MOBILE_URL_FIELD_NUMBER
public static final int FINAL_MOBILE_URL_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
-
getHeader
Required. The header of the price offering. The length of this string should be between 1 and 25, inclusive.
string header = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHeaderin interfacePriceOfferingOrBuilder- Returns:
- The header.
-
getHeaderBytes
public com.google.protobuf.ByteString getHeaderBytes()Required. The header of the price offering. The length of this string should be between 1 and 25, inclusive.
string header = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHeaderBytesin interfacePriceOfferingOrBuilder- Returns:
- The bytes for header.
-
getDescription
Required. The description of the price offering. The length of this string should be between 1 and 25, inclusive.
string description = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDescriptionin interfacePriceOfferingOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Required. The description of the price offering. The length of this string should be between 1 and 25, inclusive.
string description = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDescriptionBytesin interfacePriceOfferingOrBuilder- Returns:
- The bytes for description.
-
hasPrice
public boolean hasPrice()Required. The price value of the price offering.
.google.ads.googleads.v18.common.Money price = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasPricein interfacePriceOfferingOrBuilder- Returns:
- Whether the price field is set.
-
getPrice
Required. The price value of the price offering.
.google.ads.googleads.v18.common.Money price = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPricein interfacePriceOfferingOrBuilder- Returns:
- The price.
-
getPriceOrBuilder
Required. The price value of the price offering.
.google.ads.googleads.v18.common.Money price = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPriceOrBuilderin interfacePriceOfferingOrBuilder
-
getUnitValue
public int getUnitValue()The price unit of the price offering.
.google.ads.googleads.v18.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4;- Specified by:
getUnitValuein interfacePriceOfferingOrBuilder- Returns:
- The enum numeric value on the wire for unit.
-
getUnit
The price unit of the price offering.
.google.ads.googleads.v18.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4;- Specified by:
getUnitin interfacePriceOfferingOrBuilder- Returns:
- The unit.
-
getFinalUrl
Required. The final URL after all cross domain redirects.
string final_url = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFinalUrlin interfacePriceOfferingOrBuilder- Returns:
- The finalUrl.
-
getFinalUrlBytes
public com.google.protobuf.ByteString getFinalUrlBytes()Required. The final URL after all cross domain redirects.
string final_url = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFinalUrlBytesin interfacePriceOfferingOrBuilder- Returns:
- The bytes for finalUrl.
-
getFinalMobileUrl
The final mobile URL after all cross domain redirects.
string final_mobile_url = 6;- Specified by:
getFinalMobileUrlin interfacePriceOfferingOrBuilder- Returns:
- The finalMobileUrl.
-
getFinalMobileUrlBytes
public com.google.protobuf.ByteString getFinalMobileUrlBytes()The final mobile URL after all cross domain redirects.
string final_mobile_url = 6;- Specified by:
getFinalMobileUrlBytesin interfacePriceOfferingOrBuilder- Returns:
- The bytes for finalMobileUrl.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- 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 PriceOffering parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PriceOffering parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PriceOffering parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PriceOffering parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PriceOffering parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PriceOffering parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PriceOffering parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PriceOffering parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PriceOffering parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PriceOffering parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PriceOffering.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-