Class TransferTypes.ErrorLogEntry (1.41.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
TypeDescription
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransferTypes.ErrorLogEntry getDefaultInstance()
Returns
TypeDescription
TransferTypes.ErrorLogEntry

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TransferTypes.ErrorLogEntry.Builder newBuilder()
Returns
TypeDescription
TransferTypes.ErrorLogEntry.Builder

newBuilder(TransferTypes.ErrorLogEntry prototype)

public static TransferTypes.ErrorLogEntry.Builder newBuilder(TransferTypes.ErrorLogEntry prototype)
Parameter
NameDescription
prototypeTransferTypes.ErrorLogEntry
Returns
TypeDescription
TransferTypes.ErrorLogEntry.Builder

parseDelimitedFrom(InputStream input)

public static TransferTypes.ErrorLogEntry parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.ErrorLogEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransferTypes.ErrorLogEntry parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.ErrorLogEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferTypes.ErrorLogEntry parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.ErrorLogEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferTypes.ErrorLogEntry parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.ErrorLogEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransferTypes.ErrorLogEntry parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.ErrorLogEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransferTypes.ErrorLogEntry parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferTypes.ErrorLogEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.ErrorLogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TransferTypes.ErrorLogEntry getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of errorDetails.

getErrorDetailsList()

public ProtocolStringList getErrorDetailsList()

A list of messages that carry the error details.

repeated string error_details = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the errorDetails.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for url.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TransferTypes.ErrorLogEntry.Builder newBuilderForType()
Returns
TypeDescription
TransferTypes.ErrorLogEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferTypes.ErrorLogEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransferTypes.ErrorLogEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TransferTypes.ErrorLogEntry.Builder toBuilder()
Returns
TypeDescription
TransferTypes.ErrorLogEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException