public static final class Error.Builder extends GeneratedMessage.Builder<Error.Builder> implements ErrorOrBuilderDetails information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.
Protobuf type google.privacy.dlp.v2.Error
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Error.BuilderImplements
ErrorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllTimestamps(Iterable<? extends Timestamp> values)
public Error.Builder addAllTimestamps(Iterable<? extends Timestamp> values)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.protobuf.Timestamp> |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
addTimestamps(Timestamp value)
public Error.Builder addTimestamps(Timestamp value)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
addTimestamps(Timestamp.Builder builderForValue)
public Error.Builder addTimestamps(Timestamp.Builder builderForValue)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
addTimestamps(int index, Timestamp value)
public Error.Builder addTimestamps(int index, Timestamp value)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
addTimestamps(int index, Timestamp.Builder builderForValue)
public Error.Builder addTimestamps(int index, Timestamp.Builder builderForValue)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
addTimestampsBuilder()
public Timestamp.Builder addTimestampsBuilder()The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
addTimestampsBuilder(int index)
public Timestamp.Builder addTimestampsBuilder(int index)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Builder |
|
build()
public Error build()| Returns | |
|---|---|
| Type | Description |
Error |
|
buildPartial()
public Error buildPartial()| Returns | |
|---|---|
| Type | Description |
Error |
|
clear()
public Error.Builder clear()| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
clearDetails()
public Error.Builder clearDetails()Detailed error codes and messages.
.google.rpc.Status details = 1;
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
clearExtraInfo()
public Error.Builder clearExtraInfo()Additional information about the error.
.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
This builder for chaining. |
clearTimestamps()
public Error.Builder clearTimestamps()The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
getDefaultInstanceForType()
public Error getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Error |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDetails()
public Status getDetails()Detailed error codes and messages.
.google.rpc.Status details = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status |
The details. |
getDetailsBuilder()
public Status.Builder getDetailsBuilder()Detailed error codes and messages.
.google.rpc.Status details = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status.Builder |
|
getDetailsOrBuilder()
public StatusOrBuilder getDetailsOrBuilder()Detailed error codes and messages.
.google.rpc.Status details = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.StatusOrBuilder |
|
getExtraInfo()
public Error.ErrorExtraInfo getExtraInfo()Additional information about the error.
.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;
| Returns | |
|---|---|
| Type | Description |
Error.ErrorExtraInfo |
The extraInfo. |
getExtraInfoValue()
public int getExtraInfoValue()Additional information about the error.
.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for extraInfo. |
getTimestamps(int index)
public Timestamp getTimestamps(int index)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Timestamp |
|
getTimestampsBuilder(int index)
public Timestamp.Builder getTimestampsBuilder(int index)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTimestampsBuilderList()
public List<Timestamp.Builder> getTimestampsBuilderList()The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getTimestampsCount()
public int getTimestampsCount()The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getTimestampsList()
public List<Timestamp> getTimestampsList()The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Returns | |
|---|---|
| Type | Description |
List<Timestamp> |
|
getTimestampsOrBuilder(int index)
public TimestampOrBuilder getTimestampsOrBuilder(int index)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getTimestampsOrBuilderList()
public List<? extends TimestampOrBuilder> getTimestampsOrBuilderList()The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.protobuf.TimestampOrBuilder> |
|
hasDetails()
public boolean hasDetails()Detailed error codes and messages.
.google.rpc.Status details = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the details field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDetails(Status value)
public Error.Builder mergeDetails(Status value)Detailed error codes and messages.
.google.rpc.Status details = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
mergeFrom(Error other)
public Error.Builder mergeFrom(Error other)| Parameter | |
|---|---|
| Name | Description |
other |
Error |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Error.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Error.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
removeTimestamps(int index)
public Error.Builder removeTimestamps(int index)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
setDetails(Status value)
public Error.Builder setDetails(Status value)Detailed error codes and messages.
.google.rpc.Status details = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
setDetails(Status.Builder builderForValue)
public Error.Builder setDetails(Status.Builder builderForValue)Detailed error codes and messages.
.google.rpc.Status details = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
setExtraInfo(Error.ErrorExtraInfo value)
public Error.Builder setExtraInfo(Error.ErrorExtraInfo value)Additional information about the error.
.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Error.ErrorExtraInfoThe extraInfo to set. |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
This builder for chaining. |
setExtraInfoValue(int value)
public Error.Builder setExtraInfoValue(int value)Additional information about the error.
.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for extraInfo to set. |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
This builder for chaining. |
setTimestamps(int index, Timestamp value)
public Error.Builder setTimestamps(int index, Timestamp value)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|
setTimestamps(int index, Timestamp.Builder builderForValue)
public Error.Builder setTimestamps(int index, Timestamp.Builder builderForValue)The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Error.Builder |
|