Class QueryRuntimeError.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueryRuntimeError.Builder>
com.google.cloud.chronicle.v1.QueryRuntimeError.Builder
All Implemented Interfaces:
QueryRuntimeErrorOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QueryRuntimeError

public static final class QueryRuntimeError.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueryRuntimeError.Builder> implements QueryRuntimeErrorOrBuilder
 Runtime error for a dashboard query.
 
Protobuf type google.cloud.chronicle.v1.QueryRuntimeError
  • 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<QueryRuntimeError.Builder>
    • clear

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

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

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

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

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

      public QueryRuntimeError.Builder mergeFrom(QueryRuntimeError other)
    • isInitialized

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

      public QueryRuntimeError.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<QueryRuntimeError.Builder>
      Throws:
      IOException
    • getErrorTitle

      public String getErrorTitle()
       Short Description of the error.
       
      string error_title = 1;
      Specified by:
      getErrorTitle in interface QueryRuntimeErrorOrBuilder
      Returns:
      The errorTitle.
    • getErrorTitleBytes

      public com.google.protobuf.ByteString getErrorTitleBytes()
       Short Description of the error.
       
      string error_title = 1;
      Specified by:
      getErrorTitleBytes in interface QueryRuntimeErrorOrBuilder
      Returns:
      The bytes for errorTitle.
    • setErrorTitle

      public QueryRuntimeError.Builder setErrorTitle(String value)
       Short Description of the error.
       
      string error_title = 1;
      Parameters:
      value - The errorTitle to set.
      Returns:
      This builder for chaining.
    • clearErrorTitle

      public QueryRuntimeError.Builder clearErrorTitle()
       Short Description of the error.
       
      string error_title = 1;
      Returns:
      This builder for chaining.
    • setErrorTitleBytes

      public QueryRuntimeError.Builder setErrorTitleBytes(com.google.protobuf.ByteString value)
       Short Description of the error.
       
      string error_title = 1;
      Parameters:
      value - The bytes for errorTitle to set.
      Returns:
      This builder for chaining.
    • getErrorDescription

      public String getErrorDescription()
       Error message
       
      string error_description = 2;
      Specified by:
      getErrorDescription in interface QueryRuntimeErrorOrBuilder
      Returns:
      The errorDescription.
    • getErrorDescriptionBytes

      public com.google.protobuf.ByteString getErrorDescriptionBytes()
       Error message
       
      string error_description = 2;
      Specified by:
      getErrorDescriptionBytes in interface QueryRuntimeErrorOrBuilder
      Returns:
      The bytes for errorDescription.
    • setErrorDescription

      public QueryRuntimeError.Builder setErrorDescription(String value)
       Error message
       
      string error_description = 2;
      Parameters:
      value - The errorDescription to set.
      Returns:
      This builder for chaining.
    • clearErrorDescription

      public QueryRuntimeError.Builder clearErrorDescription()
       Error message
       
      string error_description = 2;
      Returns:
      This builder for chaining.
    • setErrorDescriptionBytes

      public QueryRuntimeError.Builder setErrorDescriptionBytes(com.google.protobuf.ByteString value)
       Error message
       
      string error_description = 2;
      Parameters:
      value - The bytes for errorDescription to set.
      Returns:
      This builder for chaining.
    • getErrorSeverityValue

      public int getErrorSeverityValue()
       Severity of the error.
       
      .google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;
      Specified by:
      getErrorSeverityValue in interface QueryRuntimeErrorOrBuilder
      Returns:
      The enum numeric value on the wire for errorSeverity.
    • setErrorSeverityValue

      public QueryRuntimeError.Builder setErrorSeverityValue(int value)
       Severity of the error.
       
      .google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;
      Parameters:
      value - The enum numeric value on the wire for errorSeverity to set.
      Returns:
      This builder for chaining.
    • getErrorSeverity

      public QueryRuntimeError.ErrorSeverity getErrorSeverity()
       Severity of the error.
       
      .google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;
      Specified by:
      getErrorSeverity in interface QueryRuntimeErrorOrBuilder
      Returns:
      The errorSeverity.
    • setErrorSeverity

       Severity of the error.
       
      .google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;
      Parameters:
      value - The errorSeverity to set.
      Returns:
      This builder for chaining.
    • clearErrorSeverity

      public QueryRuntimeError.Builder clearErrorSeverity()
       Severity of the error.
       
      .google.cloud.chronicle.v1.QueryRuntimeError.ErrorSeverity error_severity = 3;
      Returns:
      This builder for chaining.
    • getMetadataList

       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
      Specified by:
      getMetadataList in interface QueryRuntimeErrorOrBuilder
    • getMetadataCount

      public int getMetadataCount()
       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
      Specified by:
      getMetadataCount in interface QueryRuntimeErrorOrBuilder
    • getMetadata

      public QueryRuntimeError.QueryRuntimeErrorMetadata getMetadata(int index)
       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
      Specified by:
      getMetadata in interface QueryRuntimeErrorOrBuilder
    • setMetadata

       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • setMetadata

      public QueryRuntimeError.Builder setMetadata(int index, QueryRuntimeError.QueryRuntimeErrorMetadata.Builder builderForValue)
       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • addMetadata

       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • addMetadata

       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • addMetadata

       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • addMetadata

      public QueryRuntimeError.Builder addMetadata(int index, QueryRuntimeError.QueryRuntimeErrorMetadata.Builder builderForValue)
       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • addAllMetadata

       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • clearMetadata

      public QueryRuntimeError.Builder clearMetadata()
       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • removeMetadata

      public QueryRuntimeError.Builder removeMetadata(int index)
       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • getMetadataBuilder

      public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder getMetadataBuilder(int index)
       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • getMetadataOrBuilder

      public QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder getMetadataOrBuilder(int index)
       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
      Specified by:
      getMetadataOrBuilder in interface QueryRuntimeErrorOrBuilder
    • getMetadataOrBuilderList

      public List<? extends QueryRuntimeError.QueryRuntimeErrorMetadataOrBuilder> getMetadataOrBuilderList()
       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
      Specified by:
      getMetadataOrBuilderList in interface QueryRuntimeErrorOrBuilder
    • addMetadataBuilder

       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • addMetadataBuilder

      public QueryRuntimeError.QueryRuntimeErrorMetadata.Builder addMetadataBuilder(int index)
       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • getMetadataBuilderList

       Metadata for the error.
       
      repeated .google.cloud.chronicle.v1.QueryRuntimeError.QueryRuntimeErrorMetadata metadata = 4;
    • getWarningReasonValue

      public int getWarningReasonValue()
       Reason for the error.
       
      .google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;
      Specified by:
      getWarningReasonValue in interface QueryRuntimeErrorOrBuilder
      Returns:
      The enum numeric value on the wire for warningReason.
    • setWarningReasonValue

      public QueryRuntimeError.Builder setWarningReasonValue(int value)
       Reason for the error.
       
      .google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;
      Parameters:
      value - The enum numeric value on the wire for warningReason to set.
      Returns:
      This builder for chaining.
    • getWarningReason

      public QueryRuntimeError.WarningReason getWarningReason()
       Reason for the error.
       
      .google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;
      Specified by:
      getWarningReason in interface QueryRuntimeErrorOrBuilder
      Returns:
      The warningReason.
    • setWarningReason

       Reason for the error.
       
      .google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;
      Parameters:
      value - The warningReason to set.
      Returns:
      This builder for chaining.
    • clearWarningReason

      public QueryRuntimeError.Builder clearWarningReason()
       Reason for the error.
       
      .google.cloud.chronicle.v1.QueryRuntimeError.WarningReason warning_reason = 5;
      Returns:
      This builder for chaining.