Class Error (3.56.0)

  public 
  
 final 
  
 class 
 Error 
  
 extends 
  
 GeneratedMessageV3 
  
 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

Implements

ErrorOrBuilder

Static Fields

DETAILS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 DETAILS_FIELD_NUMBER 
 
Field Value
Type
Description
int

EXTRA_INFO_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 EXTRA_INFO_FIELD_NUMBER 
 
Field Value
Type
Description
int

TIMESTAMPS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 TIMESTAMPS_FIELD_NUMBER 
 
Field Value
Type
Description
int

Static Methods

getDefaultInstance()

  public 
  
 static 
  
 Error 
  
 getDefaultInstance 
 () 
 
Returns
Type
Description

getDescriptor()

  public 
  
 static 
  
 final 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptor 
 () 
 
Returns
Type
Description

newBuilder()

  public 
  
 static 
  
 Error 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(Error prototype)

  public 
  
 static 
  
 Error 
 . 
 Builder 
  
 newBuilder 
 ( 
 Error 
  
 prototype 
 ) 
 
Parameter
Name
Description
prototype
Returns
Type
Description

parseDelimitedFrom(InputStream input)

  public 
  
 static 
  
 Error 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Error 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data)

  public 
  
 static 
  
 Error 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 ) 
 
Parameter
Name
Description
data
byte []
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Error 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
byte []
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data)

  public 
  
 static 
  
 Error 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Error 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input)

  public 
  
 static 
  
 Error 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Error 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input)

  public 
  
 static 
  
 Error 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Error 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data)

  public 
  
 static 
  
 Error 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 Error 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parser()

  public 
  
 static 
  
 Parser<Error> 
  
 parser 
 () 
 
Returns
Type
Description

Methods

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
Overrides

getDefaultInstanceForType()

  public 
  
 Error 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDetails()

  public 
  
 Status 
  
 getDetails 
 () 
 

Detailed error codes and messages.

.google.rpc.Status details = 1;

Returns
Type
Description
com.google.rpc.Status

The details.

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

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.

getParserForType()

  public 
  
 Parser<Error> 
  
 getParserForType 
 () 
 
Returns
Type
Description
Overrides

getSerializedSize()

  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type
Description
int
Overrides

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

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

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

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

Whether the details field is set.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 Error 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

  protected 
  
 Error 
 . 
 Builder 
  
 newBuilderForType 
 ( 
 GeneratedMessageV3 
 . 
 BuilderParent 
  
 parent 
 ) 
 
Parameter
Name
Description
parent
Returns
Type
Description
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

  protected 
  
 Object 
  
 newInstance 
 ( 
 GeneratedMessageV3 
 . 
 UnusedPrivateParameter 
  
 unused 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides

toBuilder()

  public 
  
 Error 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: