Class TransferErrorSummary (0.22.0)

public final class TransferErrorSummary extends GeneratedMessageV3 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 Fields

ERROR_CODE_FIELD_NUMBER

public static final int ERROR_CODE_FIELD_NUMBER
Field Value
Type Description
int

ERROR_COUNT_FIELD_NUMBER

public static final int ERROR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

ERROR_LOG_ENTRIES_FIELD_NUMBER

public static final int ERROR_LOG_ENTRIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferErrorSummary getDefaultInstance()
Returns
Type Description
TransferErrorSummary

getDescriptor()

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

newBuilder()

public static TransferErrorSummary.Builder newBuilder()
Returns
Type Description
TransferErrorSummary.Builder

newBuilder(TransferErrorSummary prototype)

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

parseDelimitedFrom(InputStream input)

public static TransferErrorSummary parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferErrorSummary
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TransferErrorSummary parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransferErrorSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TransferErrorSummary parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransferErrorSummary
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TransferErrorSummary parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferErrorSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TransferErrorSummary parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransferErrorSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TransferErrorSummary> parser()
Returns
Type Description
Parser<TransferErrorSummary>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TransferErrorSummary getDefaultInstanceForType()
Returns
Type Description
TransferErrorSummary

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

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>

getParserForType()

public Parser<TransferErrorSummary> getParserForType()
Returns
Type Description
Parser<TransferErrorSummary>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 TransferErrorSummary.Builder newBuilderForType()
Returns
Type Description
TransferErrorSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TransferErrorSummary.Builder toBuilder()
Returns
Type Description
TransferErrorSummary.Builder

writeTo(CodedOutputStream output)

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