Class ErrorDetails.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ErrorDetails.Builder>
com.google.cloud.metastore.v1beta.ErrorDetails.Builder
All Implemented Interfaces:
ErrorDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ErrorDetails

public static final class ErrorDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<ErrorDetails.Builder> implements ErrorDetailsOrBuilder
 Error details in public error message for
 [DataprocMetastore.QueryMetadata][google.cloud.metastore.v1beta.DataprocMetastore.QueryMetadata].
 
Protobuf type google.cloud.metastore.v1beta.ErrorDetails
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ErrorDetails.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ErrorDetails.Builder>
    • internalGetFieldAccessorTable

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

      public ErrorDetails.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<ErrorDetails.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<ErrorDetails.Builder>
    • getDefaultInstanceForType

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

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

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

      public ErrorDetails.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<ErrorDetails.Builder>
    • mergeFrom

      public ErrorDetails.Builder mergeFrom(ErrorDetails other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ErrorDetails.Builder>
    • mergeFrom

      public ErrorDetails.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<ErrorDetails.Builder>
      Throws:
      IOException
    • getDetailsCount

      public int getDetailsCount()
      Description copied from interface: ErrorDetailsOrBuilder
       Additional structured details about this error.
      
       Keys define the failure items.
       Value describes the exception or details of the item.
       
      map<string, string> details = 1;
      Specified by:
      getDetailsCount in interface ErrorDetailsOrBuilder
    • containsDetails

      public boolean containsDetails(String key)
       Additional structured details about this error.
      
       Keys define the failure items.
       Value describes the exception or details of the item.
       
      map<string, string> details = 1;
      Specified by:
      containsDetails in interface ErrorDetailsOrBuilder
    • getDetails

      @Deprecated public Map<String,String> getDetails()
      Deprecated.
      Use getDetailsMap() instead.
      Specified by:
      getDetails in interface ErrorDetailsOrBuilder
    • getDetailsMap

      public Map<String,String> getDetailsMap()
       Additional structured details about this error.
      
       Keys define the failure items.
       Value describes the exception or details of the item.
       
      map<string, string> details = 1;
      Specified by:
      getDetailsMap in interface ErrorDetailsOrBuilder
    • getDetailsOrDefault

      public String getDetailsOrDefault(String key, String defaultValue)
       Additional structured details about this error.
      
       Keys define the failure items.
       Value describes the exception or details of the item.
       
      map<string, string> details = 1;
      Specified by:
      getDetailsOrDefault in interface ErrorDetailsOrBuilder
    • getDetailsOrThrow

      public String getDetailsOrThrow(String key)
       Additional structured details about this error.
      
       Keys define the failure items.
       Value describes the exception or details of the item.
       
      map<string, string> details = 1;
      Specified by:
      getDetailsOrThrow in interface ErrorDetailsOrBuilder
    • clearDetails

      public ErrorDetails.Builder clearDetails()
    • removeDetails

      public ErrorDetails.Builder removeDetails(String key)
       Additional structured details about this error.
      
       Keys define the failure items.
       Value describes the exception or details of the item.
       
      map<string, string> details = 1;
    • getMutableDetails

      @Deprecated public Map<String,String> getMutableDetails()
      Deprecated.
      Use alternate mutation accessors instead.
    • putDetails

      public ErrorDetails.Builder putDetails(String key, String value)
       Additional structured details about this error.
      
       Keys define the failure items.
       Value describes the exception or details of the item.
       
      map<string, string> details = 1;
    • putAllDetails

      public ErrorDetails.Builder putAllDetails(Map<String,String> values)
       Additional structured details about this error.
      
       Keys define the failure items.
       Value describes the exception or details of the item.
       
      map<string, string> details = 1;