Class FileUpload.Issue.Builder (0.11.0)

public static final class FileUpload.Issue.Builder extends GeneratedMessageV3.Builder<FileUpload.Issue.Builder> implements FileUpload.IssueOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FileUpload.Issue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FileUpload.Issue.Builder
Overrides

build()

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

buildPartial()

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

clear()

public FileUpload.Issue.Builder clear()
Returns
Type Description
FileUpload.Issue.Builder
Overrides

clearCode()

public FileUpload.Issue.Builder clearCode()

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
FileUpload.Issue.Builder

This builder for chaining.

clearCount()

public FileUpload.Issue.Builder clearCount()

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
FileUpload.Issue.Builder

This builder for chaining.

clearDescription()

public FileUpload.Issue.Builder clearDescription()

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
FileUpload.Issue.Builder

This builder for chaining.

clearDocumentationUri()

public FileUpload.Issue.Builder clearDocumentationUri()

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
FileUpload.Issue.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FileUpload.Issue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FileUpload.Issue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FileUpload.Issue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FileUpload.Issue.Builder
Overrides

clearSeverity()

public FileUpload.Issue.Builder clearSeverity()

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.Builder

This builder for chaining.

clearTitle()

public FileUpload.Issue.Builder clearTitle()

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

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

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

clone()

public FileUpload.Issue.Builder clone()
Returns
Type Description
FileUpload.Issue.Builder
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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FileUpload.Issue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileUpload.Issue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FileUpload.Issue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FileUpload.Issue.Builder
Overrides

mergeFrom(FileUpload.Issue other)

public FileUpload.Issue.Builder mergeFrom(FileUpload.Issue other)
Parameter
Name Description
other FileUpload.Issue
Returns
Type Description
FileUpload.Issue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FileUpload.Issue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FileUpload.Issue.Builder
Overrides

setCode(String value)

public FileUpload.Issue.Builder setCode(String value)

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];

Parameter
Name Description
value String

The code to set.

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

setCodeBytes(ByteString value)

public FileUpload.Issue.Builder setCodeBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for code to set.

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

setCount(long value)

public FileUpload.Issue.Builder setCount(long value)

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

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

Parameter
Name Description
value long

The count to set.

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

setDescription(String value)

public FileUpload.Issue.Builder setDescription(String value)

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];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public FileUpload.Issue.Builder setDescriptionBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

setDocumentationUri(String value)

public FileUpload.Issue.Builder setDocumentationUri(String value)

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

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

Parameter
Name Description
value String

The documentationUri to set.

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

setDocumentationUriBytes(ByteString value)

public FileUpload.Issue.Builder setDocumentationUriBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for documentationUri to set.

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FileUpload.Issue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FileUpload.Issue.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FileUpload.Issue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FileUpload.Issue.Builder
Overrides

setSeverity(FileUpload.Issue.Severity value)

public FileUpload.Issue.Builder setSeverity(FileUpload.Issue.Severity value)

Output only. The severity of the issue.

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

Parameter
Name Description
value FileUpload.Issue.Severity

The severity to set.

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

setSeverityValue(int value)

public FileUpload.Issue.Builder setSeverityValue(int value)

Output only. The severity of the issue.

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

Parameter
Name Description
value int

The enum numeric value on the wire for severity to set.

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

setTitle(String value)

public FileUpload.Issue.Builder setTitle(String value)

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

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

Parameter
Name Description
value String

The title to set.

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public FileUpload.Issue.Builder setTitleBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
FileUpload.Issue.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FileUpload.Issue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FileUpload.Issue.Builder
Overrides