Class TransferErrorSummary.Builder (0.22.0)

public static final class TransferErrorSummary.Builder extends GeneratedMessageV3.Builder<TransferErrorSummary.Builder> implements TransferErrorSummaryOrBuilder

A summary of errors by error code, plus a count and sample error log entries.

Protobuf type google.cloud.parallelstore.v1.TransferErrorSummary

Static Methods

getDescriptor()

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

Methods

addAllErrorLogEntries(Iterable<? extends TransferErrorLogEntry> values)

public TransferErrorSummary.Builder addAllErrorLogEntries(Iterable<? extends TransferErrorLogEntry> values)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.parallelstore.v1.TransferErrorLogEntry>
Returns
Type Description
TransferErrorSummary.Builder

addErrorLogEntries(TransferErrorLogEntry value)

public TransferErrorSummary.Builder addErrorLogEntries(TransferErrorLogEntry value)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameter
Name Description
value TransferErrorLogEntry
Returns
Type Description
TransferErrorSummary.Builder

addErrorLogEntries(TransferErrorLogEntry.Builder builderForValue)

public TransferErrorSummary.Builder addErrorLogEntries(TransferErrorLogEntry.Builder builderForValue)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameter
Name Description
builderForValue TransferErrorLogEntry.Builder
Returns
Type Description
TransferErrorSummary.Builder

addErrorLogEntries(int index, TransferErrorLogEntry value)

public TransferErrorSummary.Builder addErrorLogEntries(int index, TransferErrorLogEntry value)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameters
Name Description
index int
value TransferErrorLogEntry
Returns
Type Description
TransferErrorSummary.Builder

addErrorLogEntries(int index, TransferErrorLogEntry.Builder builderForValue)

public TransferErrorSummary.Builder addErrorLogEntries(int index, TransferErrorLogEntry.Builder builderForValue)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameters
Name Description
index int
builderForValue TransferErrorLogEntry.Builder
Returns
Type Description
TransferErrorSummary.Builder

addErrorLogEntriesBuilder()

public TransferErrorLogEntry.Builder addErrorLogEntriesBuilder()

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Returns
Type Description
TransferErrorLogEntry.Builder

addErrorLogEntriesBuilder(int index)

public TransferErrorLogEntry.Builder addErrorLogEntriesBuilder(int index)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameter
Name Description
index int
Returns
Type Description
TransferErrorLogEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TransferErrorSummary build()
Returns
Type Description
TransferErrorSummary

buildPartial()

public TransferErrorSummary buildPartial()
Returns
Type Description
TransferErrorSummary

clear()

public TransferErrorSummary.Builder clear()
Returns
Type Description
TransferErrorSummary.Builder
Overrides

clearErrorCode()

public TransferErrorSummary.Builder clearErrorCode()

One of the error codes that caused the transfer failure.

.google.rpc.Code error_code = 1;

Returns
Type Description
TransferErrorSummary.Builder

This builder for chaining.

clearErrorCount()

public TransferErrorSummary.Builder clearErrorCount()

Count of this type of error.

int64 error_count = 2;

Returns
Type Description
TransferErrorSummary.Builder

This builder for chaining.

clearErrorLogEntries()

public TransferErrorSummary.Builder clearErrorLogEntries()

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Returns
Type Description
TransferErrorSummary.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TransferErrorSummary.Builder clone()
Returns
Type Description
TransferErrorSummary.Builder
Overrides

getDefaultInstanceForType()

public TransferErrorSummary getDefaultInstanceForType()
Returns
Type Description
TransferErrorSummary

getDescriptorForType()

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

getErrorCode()

public Code getErrorCode()

One of the error codes that caused the transfer failure.

.google.rpc.Code error_code = 1;

Returns
Type Description
com.google.rpc.Code

The errorCode.

getErrorCodeValue()

public int getErrorCodeValue()

One of the error codes that caused the transfer failure.

.google.rpc.Code error_code = 1;

Returns
Type Description
int

The enum numeric value on the wire for errorCode.

getErrorCount()

public long getErrorCount()

Count of this type of error.

int64 error_count = 2;

Returns
Type Description
long

The errorCount.

getErrorLogEntries(int index)

public TransferErrorLogEntry getErrorLogEntries(int index)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameter
Name Description
index int
Returns
Type Description
TransferErrorLogEntry

getErrorLogEntriesBuilder(int index)

public TransferErrorLogEntry.Builder getErrorLogEntriesBuilder(int index)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameter
Name Description
index int
Returns
Type Description
TransferErrorLogEntry.Builder

getErrorLogEntriesBuilderList()

public List<TransferErrorLogEntry.Builder> getErrorLogEntriesBuilderList()

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Returns
Type Description
List<Builder>

getErrorLogEntriesCount()

public int getErrorLogEntriesCount()

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Returns
Type Description
int

getErrorLogEntriesList()

public List<TransferErrorLogEntry> getErrorLogEntriesList()

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Returns
Type Description
List<TransferErrorLogEntry>

getErrorLogEntriesOrBuilder(int index)

public TransferErrorLogEntryOrBuilder getErrorLogEntriesOrBuilder(int index)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameter
Name Description
index int
Returns
Type Description
TransferErrorLogEntryOrBuilder

getErrorLogEntriesOrBuilderList()

public List<? extends TransferErrorLogEntryOrBuilder> getErrorLogEntriesOrBuilderList()

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Returns
Type Description
List<? extends com.google.cloud.parallelstore.v1.TransferErrorLogEntryOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransferErrorSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrorLogEntries(int index)

public TransferErrorSummary.Builder removeErrorLogEntries(int index)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameter
Name Description
index int
Returns
Type Description
TransferErrorSummary.Builder

setErrorCode(Code value)

public TransferErrorSummary.Builder setErrorCode(Code value)

One of the error codes that caused the transfer failure.

.google.rpc.Code error_code = 1;

Parameter
Name Description
value com.google.rpc.Code

The errorCode to set.

Returns
Type Description
TransferErrorSummary.Builder

This builder for chaining.

setErrorCodeValue(int value)

public TransferErrorSummary.Builder setErrorCodeValue(int value)

One of the error codes that caused the transfer failure.

.google.rpc.Code error_code = 1;

Parameter
Name Description
value int

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

Returns
Type Description
TransferErrorSummary.Builder

This builder for chaining.

setErrorCount(long value)

public TransferErrorSummary.Builder setErrorCount(long value)

Count of this type of error.

int64 error_count = 2;

Parameter
Name Description
value long

The errorCount to set.

Returns
Type Description
TransferErrorSummary.Builder

This builder for chaining.

setErrorLogEntries(int index, TransferErrorLogEntry value)

public TransferErrorSummary.Builder setErrorLogEntries(int index, TransferErrorLogEntry value)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameters
Name Description
index int
value TransferErrorLogEntry
Returns
Type Description
TransferErrorSummary.Builder

setErrorLogEntries(int index, TransferErrorLogEntry.Builder builderForValue)

public TransferErrorSummary.Builder setErrorLogEntries(int index, TransferErrorLogEntry.Builder builderForValue)

A list of messages that carry the error details.

repeated .google.cloud.parallelstore.v1.TransferErrorLogEntry error_log_entries = 4;

Parameters
Name Description
index int
builderForValue TransferErrorLogEntry.Builder
Returns
Type Description
TransferErrorSummary.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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