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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Error.Builder>
    • clear

      public Error.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Error.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Error.Builder>
    • getDefaultInstanceForType

      public Error getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Error build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Error buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Error.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Error.Builder>
    • mergeFrom

      public Error.Builder mergeFrom(Error other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Error.Builder>
      Throws:
      IOException
    • hasDetails

      public boolean hasDetails()
       Detailed error codes and messages.
       
      .google.rpc.Status details = 1;
      Specified by:
      hasDetails in interface ErrorOrBuilder
      Returns:
      Whether the details field is set.
    • getDetails

      public Status getDetails()
       Detailed error codes and messages.
       
      .google.rpc.Status details = 1;
      Specified by:
      getDetails in interface ErrorOrBuilder
      Returns:
      The details.
    • setDetails

      public Error.Builder setDetails(Status value)
       Detailed error codes and messages.
       
      .google.rpc.Status details = 1;
    • setDetails

      public Error.Builder setDetails(Status.Builder builderForValue)
       Detailed error codes and messages.
       
      .google.rpc.Status details = 1;
    • mergeDetails

      public Error.Builder mergeDetails(Status value)
       Detailed error codes and messages.
       
      .google.rpc.Status details = 1;
    • clearDetails

      public Error.Builder clearDetails()
       Detailed error codes and messages.
       
      .google.rpc.Status details = 1;
    • getDetailsBuilder

      public Status.Builder getDetailsBuilder()
       Detailed error codes and messages.
       
      .google.rpc.Status details = 1;
    • getDetailsOrBuilder

      public StatusOrBuilder getDetailsOrBuilder()
       Detailed error codes and messages.
       
      .google.rpc.Status details = 1;
      Specified by:
      getDetailsOrBuilder in interface ErrorOrBuilder
    • getTimestampsList

      public List<com.google.protobuf.Timestamp> getTimestampsList()
       The times the error occurred. List includes the oldest timestamp and the
       last 9 timestamps.
       
      repeated .google.protobuf.Timestamp timestamps = 2;
      Specified by:
      getTimestampsList in interface ErrorOrBuilder
    • 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:
      getTimestampsCount in interface ErrorOrBuilder
    • 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:
      getTimestamps in interface ErrorOrBuilder
    • setTimestamps

      public Error.Builder setTimestamps(int index, com.google.protobuf.Timestamp value)
       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

      public Error.Builder addTimestamps(com.google.protobuf.Timestamp value)
       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 value)
       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(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

      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

      public Error.Builder addAllTimestamps(Iterable<? extends com.google.protobuf.Timestamp> values)
       The times the error occurred. List includes the oldest timestamp and the
       last 9 timestamps.
       
      repeated .google.protobuf.Timestamp timestamps = 2;
    • 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;
    • removeTimestamps

      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;
    • 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:
      getTimestampsOrBuilder in interface ErrorOrBuilder
    • getTimestampsOrBuilderList

      public List<? extends com.google.protobuf.TimestampOrBuilder> getTimestampsOrBuilderList()
       The times the error occurred. List includes the oldest timestamp and the
       last 9 timestamps.
       
      repeated .google.protobuf.Timestamp timestamps = 2;
      Specified by:
      getTimestampsOrBuilderList in interface ErrorOrBuilder
    • 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

      public List<com.google.protobuf.Timestamp.Builder> 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:
      getExtraInfoValue in interface ErrorOrBuilder
      Returns:
      The enum numeric value on the wire for extraInfo.
    • setExtraInfoValue

      public Error.Builder setExtraInfoValue(int value)
       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

      public Error.ErrorExtraInfo getExtraInfo()
       Additional information about the error.
       
      .google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;
      Specified by:
      getExtraInfo in interface ErrorOrBuilder
      Returns:
      The extraInfo.
    • setExtraInfo

      public Error.Builder setExtraInfo(Error.ErrorExtraInfo value)
       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

      public Error.Builder clearExtraInfo()
       Additional information about the error.
       
      .google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;
      Returns:
      This builder for chaining.