Class TransferTypes.ErrorLogEntry.Builder (1.43.0)

public static final class TransferTypes.ErrorLogEntry.Builder extends GeneratedMessageV3.Builder<TransferTypes.ErrorLogEntry.Builder> implements TransferTypes.ErrorLogEntryOrBuilder

An entry describing an error that has occurred.

Protobuf type google.storagetransfer.v1.ErrorLogEntry

Static Methods

getDescriptor()

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

Methods

addAllErrorDetails(Iterable<String> values)

public TransferTypes.ErrorLogEntry.Builder addAllErrorDetails(Iterable<String> values)

A list of messages that carry the error details.

repeated string error_details = 3;

Parameter
Name Description
values Iterable<String>

The errorDetails to add.

Returns
Type Description
TransferTypes.ErrorLogEntry.Builder

This builder for chaining.

addErrorDetails(String value)

public TransferTypes.ErrorLogEntry.Builder addErrorDetails(String value)

A list of messages that carry the error details.

repeated string error_details = 3;

Parameter
Name Description
value String

The errorDetails to add.

Returns
Type Description
TransferTypes.ErrorLogEntry.Builder

This builder for chaining.

addErrorDetailsBytes(ByteString value)

public TransferTypes.ErrorLogEntry.Builder addErrorDetailsBytes(ByteString value)

A list of messages that carry the error details.

repeated string error_details = 3;

Parameter
Name Description
value ByteString

The bytes of the errorDetails to add.

Returns
Type Description
TransferTypes.ErrorLogEntry.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public TransferTypes.ErrorLogEntry.Builder clear()
Returns
Type Description
TransferTypes.ErrorLogEntry.Builder
Overrides

clearErrorDetails()

public TransferTypes.ErrorLogEntry.Builder clearErrorDetails()

A list of messages that carry the error details.

repeated string error_details = 3;

Returns
Type Description
TransferTypes.ErrorLogEntry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUrl()

public TransferTypes.ErrorLogEntry.Builder clearUrl()

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

This builder for chaining.

clone()

public TransferTypes.ErrorLogEntry.Builder clone()
Returns
Type Description
TransferTypes.ErrorLogEntry.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

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.

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.

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 TransferTypes.ErrorLogEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferTypes.ErrorLogEntry.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(TransferTypes.ErrorLogEntry other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setErrorDetails(int index, String value)

public TransferTypes.ErrorLogEntry.Builder setErrorDetails(int index, String value)

A list of messages that carry the error details.

repeated string error_details = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The errorDetails to set.

Returns
Type Description
TransferTypes.ErrorLogEntry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrl(String value)

public TransferTypes.ErrorLogEntry.Builder setUrl(String value)

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

Parameter
Name Description
value String

The url to set.

Returns
Type Description
TransferTypes.ErrorLogEntry.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public TransferTypes.ErrorLogEntry.Builder setUrlBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
TransferTypes.ErrorLogEntry.Builder

This builder for chaining.