Class Connection.ErrorDetails.Builder

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

public static final class Connection.ErrorDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<Connection.ErrorDetails.Builder> implements Connection.ErrorDetailsOrBuilder
 The error details of Sip Trunk connection authentication.
 
Protobuf type google.cloud.dialogflow.v2.Connection.ErrorDetails
  • 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<Connection.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<Connection.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<Connection.ErrorDetails.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

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

      public boolean hasCertificateState()
       Output only. The status of the certificate authentication.
       
      optional .google.cloud.dialogflow.v2.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCertificateState in interface Connection.ErrorDetailsOrBuilder
      Returns:
      Whether the certificateState field is set.
    • getCertificateStateValue

      public int getCertificateStateValue()
       Output only. The status of the certificate authentication.
       
      optional .google.cloud.dialogflow.v2.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCertificateStateValue in interface Connection.ErrorDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for certificateState.
    • setCertificateStateValue

      public Connection.ErrorDetails.Builder setCertificateStateValue(int value)
       Output only. The status of the certificate authentication.
       
      optional .google.cloud.dialogflow.v2.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for certificateState to set.
      Returns:
      This builder for chaining.
    • getCertificateState

      public Connection.CertificateState getCertificateState()
       Output only. The status of the certificate authentication.
       
      optional .google.cloud.dialogflow.v2.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCertificateState in interface Connection.ErrorDetailsOrBuilder
      Returns:
      The certificateState.
    • setCertificateState

       Output only. The status of the certificate authentication.
       
      optional .google.cloud.dialogflow.v2.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The certificateState to set.
      Returns:
      This builder for chaining.
    • clearCertificateState

      public Connection.ErrorDetails.Builder clearCertificateState()
       Output only. The status of the certificate authentication.
       
      optional .google.cloud.dialogflow.v2.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasErrorMessage

      public boolean hasErrorMessage()
       The error message provided from SIP trunking auth service
       
      optional string error_message = 2;
      Specified by:
      hasErrorMessage in interface Connection.ErrorDetailsOrBuilder
      Returns:
      Whether the errorMessage field is set.
    • getErrorMessage

      public String getErrorMessage()
       The error message provided from SIP trunking auth service
       
      optional string error_message = 2;
      Specified by:
      getErrorMessage in interface Connection.ErrorDetailsOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.ByteString getErrorMessageBytes()
       The error message provided from SIP trunking auth service
       
      optional string error_message = 2;
      Specified by:
      getErrorMessageBytes in interface Connection.ErrorDetailsOrBuilder
      Returns:
      The bytes for errorMessage.
    • setErrorMessage

      public Connection.ErrorDetails.Builder setErrorMessage(String value)
       The error message provided from SIP trunking auth service
       
      optional string error_message = 2;
      Parameters:
      value - The errorMessage to set.
      Returns:
      This builder for chaining.
    • clearErrorMessage

      public Connection.ErrorDetails.Builder clearErrorMessage()
       The error message provided from SIP trunking auth service
       
      optional string error_message = 2;
      Returns:
      This builder for chaining.
    • setErrorMessageBytes

      public Connection.ErrorDetails.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
       The error message provided from SIP trunking auth service
       
      optional string error_message = 2;
      Parameters:
      value - The bytes for errorMessage to set.
      Returns:
      This builder for chaining.