Class EkmConnection (0.13.0)

public final class EkmConnection extends GeneratedMessageV3 implements EkmConnectionOrBuilder

Details about the EKM connection

Protobuf type google.cloud.cloudcontrolspartner.v1beta.EkmConnection

Static Fields

CONNECTION_ERROR_FIELD_NUMBER

public static final int CONNECTION_ERROR_FIELD_NUMBER
Field Value
Type Description
int

CONNECTION_NAME_FIELD_NUMBER

public static final int CONNECTION_NAME_FIELD_NUMBER
Field Value
Type Description
int

CONNECTION_STATE_FIELD_NUMBER

public static final int CONNECTION_STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EkmConnection getDefaultInstance()
Returns
Type Description
EkmConnection

getDescriptor()

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

newBuilder()

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

newBuilder(EkmConnection prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConnectionError()

public EkmConnection.ConnectionError getConnectionError()

The connection error that occurred if any

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

Returns
Type Description
EkmConnection.ConnectionError

The connectionError.

getConnectionErrorOrBuilder()

public EkmConnection.ConnectionErrorOrBuilder getConnectionErrorOrBuilder()

The connection error that occurred if any

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

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

The bytes for connectionName.

getConnectionState()

public EkmConnection.ConnectionState getConnectionState()

Output only. The connection state

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

Returns
Type Description
EkmConnection.ConnectionState

The connectionState.

getConnectionStateValue()

public int getConnectionStateValue()

Output only. The connection state

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

Returns
Type Description
int

The enum numeric value on the wire for connectionState.

getDefaultInstanceForType()

public EkmConnection getDefaultInstanceForType()
Returns
Type Description
EkmConnection

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasConnectionError()

public boolean hasConnectionError()

The connection error that occurred if any

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

Returns
Type Description
boolean

Whether the connectionError field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EkmConnection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EkmConnection.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.Builder toBuilder()
Returns
Type Description
EkmConnection.Builder

writeTo(CodedOutputStream output)

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