Class ShoppingProduct.ProductIssue
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue
- All Implemented Interfaces:
ShoppingProduct.ProductIssueOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ShoppingProduct
public static final class ShoppingProduct.ProductIssue
extends com.google.protobuf.GeneratedMessageV3
implements ShoppingProduct.ProductIssueOrBuilder
An issue affecting whether a product can show in ads.Protobuf type
google.ads.googleads.v18.resources.ShoppingProduct.ProductIssue- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn issue affecting whether a product can show in ads.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 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 TypeMethodDescriptionbooleanOutput only.intOutput only.getAffectedRegions(int index) Output only.com.google.protobuf.ByteStringgetAffectedRegionsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Output only.com.google.protobuf.ByteStringOutput only.static ShoppingProduct.ProductIssueOutput only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<ShoppingProduct.ProductIssue>intbooleanOutput only.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ShoppingProduct.ProductIssue prototype) protected ShoppingProduct.ProductIssue.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ShoppingProduct.ProductIssueparseDelimitedFrom(InputStream input) static ShoppingProduct.ProductIssueparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShoppingProduct.ProductIssueparseFrom(byte[] data) static ShoppingProduct.ProductIssueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShoppingProduct.ProductIssueparseFrom(com.google.protobuf.ByteString data) static ShoppingProduct.ProductIssueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShoppingProduct.ProductIssueparseFrom(com.google.protobuf.CodedInputStream input) static ShoppingProduct.ProductIssueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShoppingProduct.ProductIssueparseFrom(InputStream input) static ShoppingProduct.ProductIssueparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShoppingProduct.ProductIssueparseFrom(ByteBuffer data) static ShoppingProduct.ProductIssueparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ShoppingProduct.ProductIssue>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
-
ERROR_CODE_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER- See Also:
-
ADS_SEVERITY_FIELD_NUMBER
public static final int ADS_SEVERITY_FIELD_NUMBER- See Also:
-
ATTRIBUTE_NAME_FIELD_NUMBER
public static final int ATTRIBUTE_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
DETAIL_FIELD_NUMBER
public static final int DETAIL_FIELD_NUMBER- See Also:
-
DOCUMENTATION_FIELD_NUMBER
public static final int DOCUMENTATION_FIELD_NUMBER- See Also:
-
AFFECTED_REGIONS_FIELD_NUMBER
public static final int AFFECTED_REGIONS_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
-
getErrorCode
Output only. The error code that identifies the issue.
string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorCodein interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The errorCode.
-
getErrorCodeBytes
public com.google.protobuf.ByteString getErrorCodeBytes()Output only. The error code that identifies the issue.
string error_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorCodeBytesin interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The bytes for errorCode.
-
getAdsSeverityValue
public int getAdsSeverityValue()Output only. The severity of the issue in Google Ads.
.google.ads.googleads.v18.enums.ProductIssueSeverityEnum.ProductIssueSeverity ads_severity = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdsSeverityValuein interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The enum numeric value on the wire for adsSeverity.
-
getAdsSeverity
Output only. The severity of the issue in Google Ads.
.google.ads.googleads.v18.enums.ProductIssueSeverityEnum.ProductIssueSeverity ads_severity = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdsSeverityin interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The adsSeverity.
-
hasAttributeName
public boolean hasAttributeName()Output only. The name of the product's attribute, if any, that triggered the issue.
optional string attribute_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAttributeNamein interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- Whether the attributeName field is set.
-
getAttributeName
Output only. The name of the product's attribute, if any, that triggered the issue.
optional string attribute_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAttributeNamein interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The attributeName.
-
getAttributeNameBytes
public com.google.protobuf.ByteString getAttributeNameBytes()Output only. The name of the product's attribute, if any, that triggered the issue.
optional string attribute_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAttributeNameBytesin interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The bytes for attributeName.
-
getDescription
Output only. The short description of the issue in English.
string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionin interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Output only. The short description of the issue in English.
string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDescriptionBytesin interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The bytes for description.
-
getDetail
Output only. The detailed description of the issue in English.
string detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDetailin interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The detail.
-
getDetailBytes
public com.google.protobuf.ByteString getDetailBytes()Output only. The detailed description of the issue in English.
string detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDetailBytesin interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The bytes for detail.
-
getDocumentation
Output only. The URL of the Help Center article for the issue.
string documentation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDocumentationin interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The documentation.
-
getDocumentationBytes
public com.google.protobuf.ByteString getDocumentationBytes()Output only. The URL of the Help Center article for the issue.
string documentation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDocumentationBytesin interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The bytes for documentation.
-
getAffectedRegionsList
public com.google.protobuf.ProtocolStringList getAffectedRegionsList()Output only. List of upper-case two-letter ISO 3166-1 codes of the regions affected by the issue. If empty, all regions are affected.
repeated string affected_regions = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAffectedRegionsListin interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- A list containing the affectedRegions.
-
getAffectedRegionsCount
public int getAffectedRegionsCount()Output only. List of upper-case two-letter ISO 3166-1 codes of the regions affected by the issue. If empty, all regions are affected.
repeated string affected_regions = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAffectedRegionsCountin interfaceShoppingProduct.ProductIssueOrBuilder- Returns:
- The count of affectedRegions.
-
getAffectedRegions
Output only. List of upper-case two-letter ISO 3166-1 codes of the regions affected by the issue. If empty, all regions are affected.
repeated string affected_regions = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAffectedRegionsin interfaceShoppingProduct.ProductIssueOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The affectedRegions at the given index.
-
getAffectedRegionsBytes
public com.google.protobuf.ByteString getAffectedRegionsBytes(int index) Output only. List of upper-case two-letter ISO 3166-1 codes of the regions affected by the issue. If empty, all regions are affected.
repeated string affected_regions = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAffectedRegionsBytesin interfaceShoppingProduct.ProductIssueOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the affectedRegions at the given index.
-
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 ShoppingProduct.ProductIssue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShoppingProduct.ProductIssue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShoppingProduct.ProductIssue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShoppingProduct.ProductIssue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShoppingProduct.ProductIssue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShoppingProduct.ProductIssue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ShoppingProduct.ProductIssue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ShoppingProduct.ProductIssue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ShoppingProduct.ProductIssue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ShoppingProduct.ProductIssue 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
public static ShoppingProduct.ProductIssue.Builder newBuilder(ShoppingProduct.ProductIssue prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ShoppingProduct.ProductIssue.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
-