Package com.google.privacy.dlp.v2
Class Error.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Error.Builder>
com.google.privacy.dlp.v2.Error.Builder
- All Implemented Interfaces:
ErrorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Error
public static final class Error.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllTimestamps(Iterable<? extends com.google.protobuf.Timestamp> values) The times the error occurred.addTimestamps(int index, com.google.protobuf.Timestamp value) The times the error occurred.addTimestamps(int index, com.google.protobuf.Timestamp.Builder builderForValue) The times the error occurred.addTimestamps(com.google.protobuf.Timestamp value) The times the error occurred.addTimestamps(com.google.protobuf.Timestamp.Builder builderForValue) The times the error occurred.com.google.protobuf.Timestamp.BuilderThe times the error occurred.com.google.protobuf.Timestamp.BuilderaddTimestampsBuilder(int index) The times the error occurred.build()clear()Detailed error codes and messages.Additional information about the error.The times the error occurred.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDetailed error codes and messages.Detailed error codes and messages.Detailed error codes and messages.Additional information about the error.intAdditional information about the error.com.google.protobuf.TimestampgetTimestamps(int index) The times the error occurred.com.google.protobuf.Timestamp.BuildergetTimestampsBuilder(int index) The times the error occurred.List<com.google.protobuf.Timestamp.Builder>The times the error occurred.intThe times the error occurred.List<com.google.protobuf.Timestamp>The times the error occurred.com.google.protobuf.TimestampOrBuildergetTimestampsOrBuilder(int index) The times the error occurred.List<? extends com.google.protobuf.TimestampOrBuilder>The times the error occurred.booleanDetailed error codes and messages.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDetails(Status value) Detailed error codes and messages.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeTimestamps(int index) The times the error occurred.setDetails(Status value) Detailed error codes and messages.setDetails(Status.Builder builderForValue) Detailed error codes and messages.setExtraInfo(Error.ErrorExtraInfo value) Additional information about the error.setExtraInfoValue(int value) Additional information about the error.setTimestamps(int index, com.google.protobuf.Timestamp value) The times the error occurred.setTimestamps(int index, com.google.protobuf.Timestamp.Builder builderForValue) The times the error occurred.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Error.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Error.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Error.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Error.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Error.Builder>
-
mergeFrom
public Error.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Error.Builder>- Throws:
IOException
-
hasDetails
public boolean hasDetails()Detailed error codes and messages.
.google.rpc.Status details = 1;- Specified by:
hasDetailsin interfaceErrorOrBuilder- Returns:
- Whether the details field is set.
-
getDetails
Detailed error codes and messages.
.google.rpc.Status details = 1;- Specified by:
getDetailsin interfaceErrorOrBuilder- Returns:
- The details.
-
setDetails
Detailed error codes and messages.
.google.rpc.Status details = 1; -
setDetails
Detailed error codes and messages.
.google.rpc.Status details = 1; -
mergeDetails
Detailed error codes and messages.
.google.rpc.Status details = 1; -
clearDetails
Detailed error codes and messages.
.google.rpc.Status details = 1; -
getDetailsBuilder
Detailed error codes and messages.
.google.rpc.Status details = 1; -
getDetailsOrBuilder
Detailed error codes and messages.
.google.rpc.Status details = 1;- Specified by:
getDetailsOrBuilderin interfaceErrorOrBuilder
-
getTimestampsList
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;- Specified by:
getTimestampsListin interfaceErrorOrBuilder
-
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;- Specified by:
getTimestampsCountin interfaceErrorOrBuilder
-
getTimestamps
public com.google.protobuf.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;- Specified by:
getTimestampsin interfaceErrorOrBuilder
-
setTimestamps
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2; -
setTimestamps
public Error.Builder setTimestamps(int index, com.google.protobuf.Timestamp.Builder builderForValue) The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2; -
addTimestamps
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2; -
addTimestamps
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2; -
addTimestamps
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2; -
addTimestamps
public Error.Builder addTimestamps(int index, com.google.protobuf.Timestamp.Builder builderForValue) The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2; -
addAllTimestamps
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2; -
clearTimestamps
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2; -
removeTimestamps
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2; -
getTimestampsBuilder
public com.google.protobuf.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; -
getTimestampsOrBuilder
public com.google.protobuf.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;- Specified by:
getTimestampsOrBuilderin interfaceErrorOrBuilder
-
getTimestampsOrBuilderList
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2;- Specified by:
getTimestampsOrBuilderListin interfaceErrorOrBuilder
-
addTimestampsBuilder
public com.google.protobuf.Timestamp.Builder addTimestampsBuilder()The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2; -
addTimestampsBuilder
public com.google.protobuf.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; -
getTimestampsBuilderList
The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
repeated .google.protobuf.Timestamp timestamps = 2; -
getExtraInfoValue
public int getExtraInfoValue()Additional information about the error.
.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;- Specified by:
getExtraInfoValuein interfaceErrorOrBuilder- Returns:
- The enum numeric value on the wire for extraInfo.
-
setExtraInfoValue
Additional information about the error.
.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;- Parameters:
value- The enum numeric value on the wire for extraInfo to set.- Returns:
- This builder for chaining.
-
getExtraInfo
Additional information about the error.
.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;- Specified by:
getExtraInfoin interfaceErrorOrBuilder- Returns:
- The extraInfo.
-
setExtraInfo
Additional information about the error.
.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;- Parameters:
value- The extraInfo to set.- Returns:
- This builder for chaining.
-
clearExtraInfo
Additional information about the error.
.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;- Returns:
- This builder for chaining.
-