public static final class TransferErrorLogEntry.Builder extends GeneratedMessageV3.Builder<TransferErrorLogEntry.Builder> implements TransferErrorLogEntryOrBuilder
An entry describing an error that has occurred.
Protobuf type google.cloud.parallelstore.v1.TransferErrorLogEntry
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransferErrorLogEntry.BuilderImplements
TransferErrorLogEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllErrorDetails(Iterable<String> values)
public TransferErrorLogEntry.Builder addAllErrorDetails(Iterable<String> values)
A list of messages that carry the error details.
repeated string error_details = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The errorDetails to add. |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
This builder for chaining. |
addErrorDetails(String value)
public TransferErrorLogEntry.Builder addErrorDetails(String value)
A list of messages that carry the error details.
repeated string error_details = 2;
Parameter | |
---|---|
Name | Description |
value |
String The errorDetails to add. |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
This builder for chaining. |
addErrorDetailsBytes(ByteString value)
public TransferErrorLogEntry.Builder addErrorDetailsBytes(ByteString value)
A list of messages that carry the error details.
repeated string error_details = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the errorDetails to add. |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferErrorLogEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
build()
public TransferErrorLogEntry build()
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry |
buildPartial()
public TransferErrorLogEntry buildPartial()
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry |
clear()
public TransferErrorLogEntry.Builder clear()
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
clearErrorDetails()
public TransferErrorLogEntry.Builder clearErrorDetails()
A list of messages that carry the error details.
repeated string error_details = 2;
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TransferErrorLogEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferErrorLogEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
clearUri()
public TransferErrorLogEntry.Builder clearUri()
A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.
string uri = 1;
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
This builder for chaining. |
clone()
public TransferErrorLogEntry.Builder clone()
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
getDefaultInstanceForType()
public TransferErrorLogEntry getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getErrorDetails(int index)
public String getErrorDetails(int index)
A list of messages that carry the error details.
repeated string error_details = 2;
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 = 2;
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 = 2;
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 = 2;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the errorDetails. |
getUri()
public String getUri()
A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.
string uri = 1;
Returns | |
---|---|
Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()
A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.
string uri = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TransferErrorLogEntry other)
public TransferErrorLogEntry.Builder mergeFrom(TransferErrorLogEntry other)
Parameter | |
---|---|
Name | Description |
other |
TransferErrorLogEntry |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransferErrorLogEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TransferErrorLogEntry.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferErrorLogEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
setErrorDetails(int index, String value)
public TransferErrorLogEntry.Builder setErrorDetails(int index, String value)
A list of messages that carry the error details.
repeated string error_details = 2;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The errorDetails to set. |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TransferErrorLogEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferErrorLogEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferErrorLogEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
setUri(String value)
public TransferErrorLogEntry.Builder setUri(String value)
A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.
string uri = 1;
Parameter | |
---|---|
Name | Description |
value |
String The uri to set. |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public TransferErrorLogEntry.Builder setUriBytes(ByteString value)
A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.
string uri = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uri to set. |
Returns | |
---|---|
Type | Description |
TransferErrorLogEntry.Builder |
This builder for chaining. |