Class FileUpload.Issue (0.8.0)

public static final class FileUpload.Issue extends GeneratedMessageV3 implements FileUpload.IssueOrBuilder

An error occurring in the data source, like "invalid price".

Protobuf type google.shopping.merchant.datasources.v1beta.FileUpload.Issue

Static Fields

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
Type Description
int

COUNT_FIELD_NUMBER

public static final int COUNT_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DOCUMENTATION_URI_FIELD_NUMBER

public static final int DOCUMENTATION_URI_FIELD_NUMBER
Field Value
Type Description
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FileUpload.Issue getDefaultInstance()
Returns
Type Description
FileUpload.Issue

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FileUpload.Issue.Builder newBuilder()
Returns
Type Description
FileUpload.Issue.Builder

newBuilder(FileUpload.Issue prototype)

public static FileUpload.Issue.Builder newBuilder(FileUpload.Issue prototype)
Parameter
Name Description
prototype FileUpload.Issue
Returns
Type Description
FileUpload.Issue.Builder

parseDelimitedFrom(InputStream input)

public static FileUpload.Issue parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FileUpload.Issue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FileUpload.Issue parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FileUpload.Issue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FileUpload.Issue parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FileUpload.Issue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FileUpload.Issue parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FileUpload.Issue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FileUpload.Issue parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FileUpload.Issue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FileUpload.Issue parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FileUpload.Issue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileUpload.Issue
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FileUpload.Issue> parser()
Returns
Type Description
Parser<Issue>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCode()

public String getCode()

Output only. The code of the error, for example, "validation/invalid_value". Returns "?" if the code is unknown.

string code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

Output only. The code of the error, for example, "validation/invalid_value". Returns "?" if the code is unknown.

string code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for code.

getCount()

public long getCount()

Output only. The number of occurrences of the error in the file upload.

int64 count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The count.

getDefaultInstanceForType()

public FileUpload.Issue getDefaultInstanceForType()
Returns
Type Description
FileUpload.Issue

getDescription()

public String getDescription()

Output only. The error description, for example, "Your data source contains items which have too many attributes, or are too big. These items will be dropped".

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. The error description, for example, "Your data source contains items which have too many attributes, or are too big. These items will be dropped".

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDocumentationUri()

public String getDocumentationUri()

Output only. Link to the documentation explaining the issue in more details, if available.

string documentation_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The documentationUri.

getDocumentationUriBytes()

public ByteString getDocumentationUriBytes()

Output only. Link to the documentation explaining the issue in more details, if available.

string documentation_uri = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for documentationUri.

getParserForType()

public Parser<FileUpload.Issue> getParserForType()
Returns
Type Description
Parser<Issue>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSeverity()

public FileUpload.Issue.Severity getSeverity()

Output only. The severity of the issue.

.google.shopping.merchant.datasources.v1beta.FileUpload.Issue.Severity severity = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FileUpload.Issue.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

Output only. The severity of the issue.

.google.shopping.merchant.datasources.v1beta.FileUpload.Issue.Severity severity = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for severity.

getTitle()

public String getTitle()

Output only. The title of the issue, for example, "Item too big".

string title = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Output only. The title of the issue, for example, "Item too big".

string title = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for title.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FileUpload.Issue.Builder newBuilderForType()
Returns
Type Description
FileUpload.Issue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FileUpload.Issue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FileUpload.Issue.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FileUpload.Issue.Builder toBuilder()
Returns
Type Description
FileUpload.Issue.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException