Class EkmConnection.ConnectionError.Builder (0.10.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EkmConnection.ConnectionError build()
Returns
Type Description
EkmConnection.ConnectionError

buildPartial()

public EkmConnection.ConnectionError buildPartial()
Returns
Type Description
EkmConnection.ConnectionError

clear()

public EkmConnection.ConnectionError.Builder clear()
Returns
Type Description
EkmConnection.ConnectionError.Builder
Overrides

clearErrorDomain()

public EkmConnection.ConnectionError.Builder clearErrorDomain()

The error domain for the error

string error_domain = 1;

Returns
Type Description
EkmConnection.ConnectionError.Builder

This builder for chaining.

clearErrorMessage()

public EkmConnection.ConnectionError.Builder clearErrorMessage()

The error message for the error

string error_message = 2;

Returns
Type Description
EkmConnection.ConnectionError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EkmConnection.ConnectionError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EkmConnection.ConnectionError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EkmConnection.ConnectionError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EkmConnection.ConnectionError.Builder
Overrides

clone()

public EkmConnection.ConnectionError.Builder clone()
Returns
Type Description
EkmConnection.ConnectionError.Builder
Overrides

getDefaultInstanceForType()

public EkmConnection.ConnectionError getDefaultInstanceForType()
Returns
Type Description
EkmConnection.ConnectionError

getDescriptorForType()

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

getErrorDomain()

public String getErrorDomain()

The error domain for the error

string error_domain = 1;

Returns
Type Description
String

The errorDomain.

getErrorDomainBytes()

public ByteString getErrorDomainBytes()

The error domain for the error

string error_domain = 1;

Returns
Type Description
ByteString

The bytes for errorDomain.

getErrorMessage()

public String getErrorMessage()

The error message for the error

string error_message = 2;

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

The error message for the error

string error_message = 2;

Returns
Type Description
ByteString

The bytes for errorMessage.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EkmConnection.ConnectionError other)

public EkmConnection.ConnectionError.Builder mergeFrom(EkmConnection.ConnectionError other)
Parameter
Name Description
other EkmConnection.ConnectionError
Returns
Type Description
EkmConnection.ConnectionError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public EkmConnection.ConnectionError.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EkmConnection.ConnectionError.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EkmConnection.ConnectionError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The errorDomain to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for errorDomain to set.

Returns
Type Description
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
Name Description
value String

The errorMessage to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
EkmConnection.ConnectionError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EkmConnection.ConnectionError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EkmConnection.ConnectionError.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EkmConnection.ConnectionError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EkmConnection.ConnectionError.Builder
Overrides