public static final class Error.Builder extends GeneratedMessageV3.Builder<Error.Builder> implements ErrorOrBuilder
Details 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllTimestamps(Iterable<? extends Timestamp> values)
public Error.Builder addAllTimestamps(Iterable<? extends Timestamp> values)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.protobuf.Timestamp>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Error.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTimestamps(Timestamp value)
public Error.Builder addTimestamps(Timestamp value)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameter
Returns
addTimestamps(Timestamp.Builder builderForValue)
public Error.Builder addTimestamps(Timestamp.Builder builderForValue)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
addTimestamps(int index, Timestamp value)
public Error.Builder addTimestamps(int index, Timestamp value)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameters
Returns
addTimestamps(int index, Timestamp.Builder builderForValue)
public Error.Builder addTimestamps(int index, Timestamp.Builder builderForValue)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameters
Returns
addTimestampsBuilder()
public Timestamp.Builder addTimestampsBuilder()
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Returns
addTimestampsBuilder(int index)
public Timestamp.Builder addTimestampsBuilder(int index)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameter
Returns
build()
Returns
buildPartial()
public Error buildPartial()
Returns
clear()
public Error.Builder clear()
Returns
Overrides
clearDetails()
public Error.Builder clearDetails()
Detailed error codes and messages.
.google.rpc.Status details = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Error.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Error.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTimestamps()
public Error.Builder clearTimestamps()
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Returns
clone()
public Error.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Error getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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 | |
getTimestamps(int index)
public Timestamp getTimestamps(int index)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameter
Returns
getTimestampsBuilder(int index)
public Timestamp.Builder getTimestampsBuilder(int index)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameter
Returns
getTimestampsBuilderList()
public List<Timestamp.Builder> getTimestampsBuilderList()
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Returns
getTimestampsCount()
public int getTimestampsCount()
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Returns
getTimestampsList()
public List<Timestamp> getTimestampsList()
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Returns
getTimestampsOrBuilder(int index)
public TimestampOrBuilder getTimestampsOrBuilder(int index)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameter
Returns
getTimestampsOrBuilderList()
public List<? extends TimestampOrBuilder> getTimestampsOrBuilderList()
The times the error occurred.
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
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
mergeFrom(Error other)
public Error.Builder mergeFrom(Error other)
Parameter
Name | Description |
other | Error
|
Returns
public Error.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Error.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Error.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeTimestamps(int index)
public Error.Builder removeTimestamps(int index)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public Error.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Error.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTimestamps(int index, Timestamp value)
public Error.Builder setTimestamps(int index, Timestamp value)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameters
Returns
setTimestamps(int index, Timestamp.Builder builderForValue)
public Error.Builder setTimestamps(int index, Timestamp.Builder builderForValue)
The times the error occurred.
repeated .google.protobuf.Timestamp timestamps = 2;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Error.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides