public static final class ErrorLogEntry.Builder extends GeneratedMessageV3.Builder<ErrorLogEntry.Builder> implements ErrorLogEntryOrBuilderAn entry describing an error that has occurred.
Protobuf type google.cloud.storagebatchoperations.v1.ErrorLogEntry
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ErrorLogEntry.BuilderImplements
ErrorLogEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllErrorDetails(Iterable<String> values)
public ErrorLogEntry.Builder addAllErrorDetails(Iterable<String> values)Optional. Output only. At most 5 error log entries are recorded for a given error code for a job.
repeated string error_details = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The errorDetails to add. |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
This builder for chaining. |
addErrorDetails(String value)
public ErrorLogEntry.Builder addErrorDetails(String value)Optional. Output only. At most 5 error log entries are recorded for a given error code for a job.
repeated string error_details = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe errorDetails to add. |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
This builder for chaining. |
addErrorDetailsBytes(ByteString value)
public ErrorLogEntry.Builder addErrorDetailsBytes(ByteString value)Optional. Output only. At most 5 error log entries are recorded for a given error code for a job.
repeated string error_details = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the errorDetails to add. |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ErrorLogEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|
build()
public ErrorLogEntry build()| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry |
|
buildPartial()
public ErrorLogEntry buildPartial()| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry |
|
clear()
public ErrorLogEntry.Builder clear()| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|
clearErrorDetails()
public ErrorLogEntry.Builder clearErrorDetails()Optional. Output only. At most 5 error log entries are recorded for a given error code for a job.
repeated string error_details = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ErrorLogEntry.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|
clearObjectUri()
public ErrorLogEntry.Builder clearObjectUri()Required. Output only. Object URL. e.g. gs://my_bucket/object.txt
string object_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ErrorLogEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|
clone()
public ErrorLogEntry.Builder clone()| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|
getDefaultInstanceForType()
public ErrorLogEntry getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorDetails(int index)
public String getErrorDetails(int index)Optional. Output only. At most 5 error log entries are recorded for a given error code for a job.
repeated string error_details = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The errorDetails at the given index. |
getErrorDetailsBytes(int index)
public ByteString getErrorDetailsBytes(int index)Optional. Output only. At most 5 error log entries are recorded for a given error code for a job.
repeated string error_details = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the errorDetails at the given index. |
getErrorDetailsCount()
public int getErrorDetailsCount()Optional. Output only. At most 5 error log entries are recorded for a given error code for a job.
repeated string error_details = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of errorDetails. |
getErrorDetailsList()
public ProtocolStringList getErrorDetailsList()Optional. Output only. At most 5 error log entries are recorded for a given error code for a job.
repeated string error_details = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the errorDetails. |
getObjectUri()
public String getObjectUri()Required. Output only. Object URL. e.g. gs://my_bucket/object.txt
string object_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The objectUri. |
getObjectUriBytes()
public ByteString getObjectUriBytes()Required. Output only. Object URL. e.g. gs://my_bucket/object.txt
string object_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for objectUri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ErrorLogEntry other)
public ErrorLogEntry.Builder mergeFrom(ErrorLogEntry other)| Parameter | |
|---|---|
| Name | Description |
other |
ErrorLogEntry |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ErrorLogEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ErrorLogEntry.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ErrorLogEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|
setErrorDetails(int index, String value)
public ErrorLogEntry.Builder setErrorDetails(int index, String value)Optional. Output only. At most 5 error log entries are recorded for a given error code for a job.
repeated string error_details = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe errorDetails to set. |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ErrorLogEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|
setObjectUri(String value)
public ErrorLogEntry.Builder setObjectUri(String value)Required. Output only. Object URL. e.g. gs://my_bucket/object.txt
string object_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe objectUri to set. |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
This builder for chaining. |
setObjectUriBytes(ByteString value)
public ErrorLogEntry.Builder setObjectUriBytes(ByteString value)Required. Output only. Object URL. e.g. gs://my_bucket/object.txt
string object_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for objectUri to set. |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ErrorLogEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ErrorLogEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ErrorLogEntry.Builder |
|