Class EkmConnection.ConnectionError.Builder (0.5.0)

public static final class EkmConnection.ConnectionError.Builder extends GeneratedMessageV3.Builder<EkmConnection.ConnectionError.Builder> implements EkmConnection.ConnectionErrorOrBuilder

Information around the error that occurred if the connection state is anything other than available or unspecified

Protobuf type google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EkmConnection.ConnectionError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides

build()

public EkmConnection.ConnectionError build()
Returns
TypeDescription
EkmConnection.ConnectionError

buildPartial()

public EkmConnection.ConnectionError buildPartial()
Returns
TypeDescription
EkmConnection.ConnectionError

clear()

public EkmConnection.ConnectionError.Builder clear()
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides

clearErrorDomain()

public EkmConnection.ConnectionError.Builder clearErrorDomain()

The error domain for the error

string error_domain = 1;

Returns
TypeDescription
EkmConnection.ConnectionError.Builder

This builder for chaining.

clearErrorMessage()

public EkmConnection.ConnectionError.Builder clearErrorMessage()

The error message for the error

string error_message = 2;

Returns
TypeDescription
EkmConnection.ConnectionError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EkmConnection.ConnectionError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EkmConnection.ConnectionError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides

clone()

public EkmConnection.ConnectionError.Builder clone()
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides

getDefaultInstanceForType()

public EkmConnection.ConnectionError getDefaultInstanceForType()
Returns
TypeDescription
EkmConnection.ConnectionError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrorDomain()

public String getErrorDomain()

The error domain for the error

string error_domain = 1;

Returns
TypeDescription
String

The errorDomain.

getErrorDomainBytes()

public ByteString getErrorDomainBytes()

The error domain for the error

string error_domain = 1;

Returns
TypeDescription
ByteString

The bytes for errorDomain.

getErrorMessage()

public String getErrorMessage()

The error message for the error

string error_message = 2;

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

The error message for the error

string error_message = 2;

Returns
TypeDescription
ByteString

The bytes for errorMessage.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EkmConnection.ConnectionError other)

public EkmConnection.ConnectionError.Builder mergeFrom(EkmConnection.ConnectionError other)
Parameter
NameDescription
otherEkmConnection.ConnectionError
Returns
TypeDescription
EkmConnection.ConnectionError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EkmConnection.ConnectionError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EkmConnection.ConnectionError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EkmConnection.ConnectionError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides

setErrorDomain(String value)

public EkmConnection.ConnectionError.Builder setErrorDomain(String value)

The error domain for the error

string error_domain = 1;

Parameter
NameDescription
valueString

The errorDomain to set.

Returns
TypeDescription
EkmConnection.ConnectionError.Builder

This builder for chaining.

setErrorDomainBytes(ByteString value)

public EkmConnection.ConnectionError.Builder setErrorDomainBytes(ByteString value)

The error domain for the error

string error_domain = 1;

Parameter
NameDescription
valueByteString

The bytes for errorDomain to set.

Returns
TypeDescription
EkmConnection.ConnectionError.Builder

This builder for chaining.

setErrorMessage(String value)

public EkmConnection.ConnectionError.Builder setErrorMessage(String value)

The error message for the error

string error_message = 2;

Parameter
NameDescription
valueString

The errorMessage to set.

Returns
TypeDescription
EkmConnection.ConnectionError.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public EkmConnection.ConnectionError.Builder setErrorMessageBytes(ByteString value)

The error message for the error

string error_message = 2;

Parameter
NameDescription
valueByteString

The bytes for errorMessage to set.

Returns
TypeDescription
EkmConnection.ConnectionError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EkmConnection.ConnectionError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides

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

public EkmConnection.ConnectionError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EkmConnection.ConnectionError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides