Class EkmConnection.ConnectionError (0.17.0)

public static final class EkmConnection.ConnectionError extends GeneratedMessageV3 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 Fields

ERROR_DOMAIN_FIELD_NUMBER

public static final int ERROR_DOMAIN_FIELD_NUMBER
Field Value
Type Description
int

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EkmConnection.ConnectionError getDefaultInstance()
Returns
Type Description
EkmConnection.ConnectionError

getDescriptor()

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

newBuilder()

public static EkmConnection.ConnectionError.Builder newBuilder()
Returns
Type Description
EkmConnection.ConnectionError.Builder

newBuilder(EkmConnection.ConnectionError prototype)

public static EkmConnection.ConnectionError.Builder newBuilder(EkmConnection.ConnectionError prototype)
Parameter
Name Description
prototype EkmConnection.ConnectionError
Returns
Type Description
EkmConnection.ConnectionError.Builder

parseDelimitedFrom(InputStream input)

public static EkmConnection.ConnectionError parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EkmConnection.ConnectionError parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EkmConnection.ConnectionError parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EkmConnection.ConnectionError parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EkmConnection.ConnectionError parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EkmConnection.ConnectionError parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EkmConnection.ConnectionError
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EkmConnection.ConnectionError> parser()
Returns
Type Description
Parser<ConnectionError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<EkmConnection.ConnectionError> getParserForType()
Returns
Type Description
Parser<ConnectionError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EkmConnection.ConnectionError.Builder newBuilderForType()
Returns
Type Description
EkmConnection.ConnectionError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EkmConnection.ConnectionError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EkmConnection.ConnectionError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EkmConnection.ConnectionError.Builder toBuilder()
Returns
Type Description
EkmConnection.ConnectionError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException