Class EkmConnection (0.4.0)

public final class EkmConnection extends GeneratedMessageV3 implements EkmConnectionOrBuilder

Details about the EKM connection

Protobuf type google.cloud.cloudcontrolspartner.v1.EkmConnection

Static Fields

CONNECTION_ERROR_FIELD_NUMBER

public static final int CONNECTION_ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

CONNECTION_NAME_FIELD_NUMBER

public static final int CONNECTION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

CONNECTION_STATE_FIELD_NUMBER

public static final int CONNECTION_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EkmConnection getDefaultInstance()
Returns
TypeDescription
EkmConnection

getDescriptor()

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

newBuilder()

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

newBuilder(EkmConnection prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConnectionError()

public EkmConnection.ConnectionError getConnectionError()

The connection error that occurred if any

.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError connection_error = 3;

Returns
TypeDescription
EkmConnection.ConnectionError

The connectionError.

getConnectionErrorOrBuilder()

public EkmConnection.ConnectionErrorOrBuilder getConnectionErrorOrBuilder()

The connection error that occurred if any

.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError connection_error = 3;

Returns
TypeDescription
EkmConnection.ConnectionErrorOrBuilder

getConnectionName()

public String getConnectionName()

Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}

string connection_name = 1;

Returns
TypeDescription
String

The connectionName.

getConnectionNameBytes()

public ByteString getConnectionNameBytes()

Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}

string connection_name = 1;

Returns
TypeDescription
ByteString

The bytes for connectionName.

getConnectionState()

public EkmConnection.ConnectionState getConnectionState()

Output only. The connection state

.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
EkmConnection.ConnectionState

The connectionState.

getConnectionStateValue()

public int getConnectionStateValue()

Output only. The connection state

.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for connectionState.

getDefaultInstanceForType()

public EkmConnection getDefaultInstanceForType()
Returns
TypeDescription
EkmConnection

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasConnectionError()

public boolean hasConnectionError()

The connection error that occurred if any

.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError connection_error = 3;

Returns
TypeDescription
boolean

Whether the connectionError field is set.

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.Builder newBuilderForType()
Returns
TypeDescription
EkmConnection.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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