Class EkmConnection.Builder (0.12.0)

public static final class EkmConnection.Builder extends GeneratedMessageV3.Builder<EkmConnection.Builder> implements EkmConnectionOrBuilder

Details about the EKM connection

Protobuf type google.cloud.cloudcontrolspartner.v1beta.EkmConnection

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EkmConnection build()
Returns
Type Description
EkmConnection

buildPartial()

public EkmConnection buildPartial()
Returns
Type Description
EkmConnection

clear()

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

clearConnectionError()

public EkmConnection.Builder clearConnectionError()

The connection error that occurred if any

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

Returns
Type Description
EkmConnection.Builder

clearConnectionName()

public EkmConnection.Builder clearConnectionName()

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

string connection_name = 1;

Returns
Type Description
EkmConnection.Builder

This builder for chaining.

clearConnectionState()

public EkmConnection.Builder clearConnectionState()

Output only. The connection state

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

Returns
Type Description
EkmConnection.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConnectionErrorBuilder()

public EkmConnection.ConnectionError.Builder getConnectionErrorBuilder()

The connection error that occurred if any

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

Returns
Type Description
EkmConnection.ConnectionError.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConnectionError(EkmConnection.ConnectionError value)

public EkmConnection.Builder mergeConnectionError(EkmConnection.ConnectionError value)

The connection error that occurred if any

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

Parameter
Name Description
value EkmConnection.ConnectionError
Returns
Type Description
EkmConnection.Builder

mergeFrom(EkmConnection other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConnectionError(EkmConnection.ConnectionError value)

public EkmConnection.Builder setConnectionError(EkmConnection.ConnectionError value)

The connection error that occurred if any

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

Parameter
Name Description
value EkmConnection.ConnectionError
Returns
Type Description
EkmConnection.Builder

setConnectionError(EkmConnection.ConnectionError.Builder builderForValue)

public EkmConnection.Builder setConnectionError(EkmConnection.ConnectionError.Builder builderForValue)

The connection error that occurred if any

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

Parameter
Name Description
builderForValue EkmConnection.ConnectionError.Builder
Returns
Type Description
EkmConnection.Builder

setConnectionName(String value)

public EkmConnection.Builder setConnectionName(String value)

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

string connection_name = 1;

Parameter
Name Description
value String

The connectionName to set.

Returns
Type Description
EkmConnection.Builder

This builder for chaining.

setConnectionNameBytes(ByteString value)

public EkmConnection.Builder setConnectionNameBytes(ByteString value)

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

string connection_name = 1;

Parameter
Name Description
value ByteString

The bytes for connectionName to set.

Returns
Type Description
EkmConnection.Builder

This builder for chaining.

setConnectionState(EkmConnection.ConnectionState value)

public EkmConnection.Builder setConnectionState(EkmConnection.ConnectionState value)

Output only. The connection state

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

Parameter
Name Description
value EkmConnection.ConnectionState

The connectionState to set.

Returns
Type Description
EkmConnection.Builder

This builder for chaining.

setConnectionStateValue(int value)

public EkmConnection.Builder setConnectionStateValue(int value)

Output only. The connection state

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

Parameter
Name Description
value int

The enum numeric value on the wire for connectionState to set.

Returns
Type Description
EkmConnection.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EkmConnection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EkmConnection.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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