Class TransferTypes.ErrorLogEntry (1.42.0)

public static final class TransferTypes.ErrorLogEntry extends GeneratedMessageV3 implements TransferTypes.ErrorLogEntryOrBuilder

An entry describing an error that has occurred.

Protobuf type google.storagetransfer.v1.ErrorLogEntry

Static Fields

ERROR_DETAILS_FIELD_NUMBER

public static final int ERROR_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferTypes.ErrorLogEntry getDefaultInstance()
Returns
Type Description
TransferTypes.ErrorLogEntry

getDescriptor()

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

newBuilder()

public static TransferTypes.ErrorLogEntry.Builder newBuilder()
Returns
Type Description
TransferTypes.ErrorLogEntry.Builder

newBuilder(TransferTypes.ErrorLogEntry prototype)

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

parseDelimitedFrom(InputStream input)

public static TransferTypes.ErrorLogEntry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferTypes.ErrorLogEntry
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TransferTypes.ErrorLogEntry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransferTypes.ErrorLogEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TransferTypes.ErrorLogEntry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransferTypes.ErrorLogEntry
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TransferTypes.ErrorLogEntry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferTypes.ErrorLogEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TransferTypes.ErrorLogEntry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransferTypes.ErrorLogEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TransferTypes.ErrorLogEntry> parser()
Returns
Type Description
Parser<ErrorLogEntry>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TransferTypes.ErrorLogEntry getDefaultInstanceForType()
Returns
Type Description
TransferTypes.ErrorLogEntry

getErrorDetails(int index)

public String getErrorDetails(int index)

A list of messages that carry the error details.

repeated string error_details = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The errorDetails at the given index.

getErrorDetailsBytes(int index)

public ByteString getErrorDetailsBytes(int index)

A list of messages that carry the error details.

repeated string error_details = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the errorDetails at the given index.

getErrorDetailsCount()

public int getErrorDetailsCount()

A list of messages that carry the error details.

repeated string error_details = 3;

Returns
Type Description
int

The count of errorDetails.

getErrorDetailsList()

public ProtocolStringList getErrorDetailsList()

A list of messages that carry the error details.

repeated string error_details = 3;

Returns
Type Description
ProtocolStringList

A list containing the errorDetails.

getParserForType()

public Parser<TransferTypes.ErrorLogEntry> getParserForType()
Returns
Type Description
Parser<ErrorLogEntry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUrl()

public String getUrl()

Required. A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.

string url = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Required. A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.

string url = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for url.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TransferTypes.ErrorLogEntry.Builder toBuilder()
Returns
Type Description
TransferTypes.ErrorLogEntry.Builder

writeTo(CodedOutputStream output)

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