Class Connection.ErrorDetails.Builder (4.61.0)

public static final class Connection.ErrorDetails.Builder extends GeneratedMessageV3.Builder<Connection.ErrorDetails.Builder> implements Connection.ErrorDetailsOrBuilder

The error details of Sip Trunk connection authentication.

Protobuf type google.cloud.dialogflow.v2beta1.Connection.ErrorDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Connection.ErrorDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Connection.ErrorDetails.Builder
Overrides

build()

public Connection.ErrorDetails build()
Returns
Type Description
Connection.ErrorDetails

buildPartial()

public Connection.ErrorDetails buildPartial()
Returns
Type Description
Connection.ErrorDetails

clear()

public Connection.ErrorDetails.Builder clear()
Returns
Type Description
Connection.ErrorDetails.Builder
Overrides

clearCertificateState()

public Connection.ErrorDetails.Builder clearCertificateState()

Output only. The status of the certificate authentication.

optional .google.cloud.dialogflow.v2beta1.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Connection.ErrorDetails.Builder

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
Type Description
Connection.ErrorDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Connection.ErrorDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Connection.ErrorDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Connection.ErrorDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Connection.ErrorDetails.Builder
Overrides

clone()

public Connection.ErrorDetails.Builder clone()
Returns
Type Description
Connection.ErrorDetails.Builder
Overrides

getCertificateState()

public Connection.CertificateState getCertificateState()

Output only. The status of the certificate authentication.

optional .google.cloud.dialogflow.v2beta1.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Connection.CertificateState

The certificateState.

getCertificateStateValue()

public int getCertificateStateValue()

Output only. The status of the certificate authentication.

optional .google.cloud.dialogflow.v2beta1.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for certificateState.

getDefaultInstanceForType()

public Connection.ErrorDetails getDefaultInstanceForType()
Returns
Type Description
Connection.ErrorDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrorMessage()

public String getErrorMessage()

The error message provided from SIP trunking auth service

optional string error_message = 2;

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

The error message provided from SIP trunking auth service

optional string error_message = 2;

Returns
Type Description
ByteString

The bytes for errorMessage.

hasCertificateState()

public boolean hasCertificateState()

Output only. The status of the certificate authentication.

optional .google.cloud.dialogflow.v2beta1.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the certificateState field is set.

hasErrorMessage()

public boolean hasErrorMessage()

The error message provided from SIP trunking auth service

optional string error_message = 2;

Returns
Type Description
boolean

Whether the errorMessage field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Connection.ErrorDetails other)

public Connection.ErrorDetails.Builder mergeFrom(Connection.ErrorDetails other)
Parameter
Name Description
other Connection.ErrorDetails
Returns
Type Description
Connection.ErrorDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Connection.ErrorDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Connection.ErrorDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Connection.ErrorDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Connection.ErrorDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Connection.ErrorDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Connection.ErrorDetails.Builder
Overrides

setCertificateState(Connection.CertificateState value)

public Connection.ErrorDetails.Builder setCertificateState(Connection.CertificateState value)

Output only. The status of the certificate authentication.

optional .google.cloud.dialogflow.v2beta1.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Connection.CertificateState

The certificateState to set.

Returns
Type Description
Connection.ErrorDetails.Builder

This builder for chaining.

setCertificateStateValue(int value)

public Connection.ErrorDetails.Builder setCertificateStateValue(int value)

Output only. The status of the certificate authentication.

optional .google.cloud.dialogflow.v2beta1.Connection.CertificateState certificate_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for certificateState to set.

Returns
Type Description
Connection.ErrorDetails.Builder

This builder for chaining.

setErrorMessage(String value)

public Connection.ErrorDetails.Builder setErrorMessage(String value)

The error message provided from SIP trunking auth service

optional string error_message = 2;

Parameter
Name Description
value String

The errorMessage to set.

Returns
Type Description
Connection.ErrorDetails.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public Connection.ErrorDetails.Builder setErrorMessageBytes(ByteString value)

The error message provided from SIP trunking auth service

optional string error_message = 2;

Parameter
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
Connection.ErrorDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Connection.ErrorDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Connection.ErrorDetails.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Connection.ErrorDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Connection.ErrorDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Connection.ErrorDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Connection.ErrorDetails.Builder
Overrides