Class EkmConnection.ConnectionError (0.4.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
TypeDescription
int

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EkmConnection.ConnectionError getDefaultInstance()
Returns
TypeDescription
EkmConnection.ConnectionError

getDescriptor()

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

newBuilder()

public static EkmConnection.ConnectionError.Builder newBuilder()
Returns
TypeDescription
EkmConnection.ConnectionError.Builder

newBuilder(EkmConnection.ConnectionError prototype)

public static EkmConnection.ConnectionError.Builder newBuilder(EkmConnection.ConnectionError prototype)
Parameter
NameDescription
prototypeEkmConnection.ConnectionError
Returns
TypeDescription
EkmConnection.ConnectionError.Builder

parseDelimitedFrom(InputStream input)

public static EkmConnection.ConnectionError parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EkmConnection.ConnectionError parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EkmConnection.ConnectionError parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EkmConnection.ConnectionError parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EkmConnection.ConnectionError parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EkmConnection.ConnectionError parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EkmConnection.ConnectionError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnection.ConnectionError
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EkmConnection.ConnectionError.Builder newBuilderForType()
Returns
TypeDescription
EkmConnection.ConnectionError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EkmConnection.ConnectionError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EkmConnection.ConnectionError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EkmConnection.ConnectionError.Builder toBuilder()
Returns
TypeDescription
EkmConnection.ConnectionError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException