Class EkmConnections.Builder (0.10.0)

public static final class EkmConnections.Builder extends GeneratedMessageV3.Builder<EkmConnections.Builder> implements EkmConnectionsOrBuilder

The EKM connections associated with a workload

Protobuf type google.cloud.cloudcontrolspartner.v1beta.EkmConnections

Static Methods

getDescriptor()

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

Methods

addAllEkmConnections(Iterable<? extends EkmConnection> values)

public EkmConnections.Builder addAllEkmConnections(Iterable<? extends EkmConnection> values)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.cloudcontrolspartner.v1beta.EkmConnection>
Returns
Type Description
EkmConnections.Builder

addEkmConnections(EkmConnection value)

public EkmConnections.Builder addEkmConnections(EkmConnection value)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Parameter
Name Description
value EkmConnection
Returns
Type Description
EkmConnections.Builder

addEkmConnections(EkmConnection.Builder builderForValue)

public EkmConnections.Builder addEkmConnections(EkmConnection.Builder builderForValue)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

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

addEkmConnections(int index, EkmConnection value)

public EkmConnections.Builder addEkmConnections(int index, EkmConnection value)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Parameters
Name Description
index int
value EkmConnection
Returns
Type Description
EkmConnections.Builder

addEkmConnections(int index, EkmConnection.Builder builderForValue)

public EkmConnections.Builder addEkmConnections(int index, EkmConnection.Builder builderForValue)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Parameters
Name Description
index int
builderForValue EkmConnection.Builder
Returns
Type Description
EkmConnections.Builder

addEkmConnectionsBuilder()

public EkmConnection.Builder addEkmConnectionsBuilder()

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Returns
Type Description
EkmConnection.Builder

addEkmConnectionsBuilder(int index)

public EkmConnection.Builder addEkmConnectionsBuilder(int index)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Parameter
Name Description
index int
Returns
Type Description
EkmConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EkmConnections build()
Returns
Type Description
EkmConnections

buildPartial()

public EkmConnections buildPartial()
Returns
Type Description
EkmConnections

clear()

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

clearEkmConnections()

public EkmConnections.Builder clearEkmConnections()

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Returns
Type Description
EkmConnections.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public EkmConnections.Builder clearName()

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
EkmConnections.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public EkmConnections.Builder clone()
Returns
Type Description
EkmConnections.Builder
Overrides

getDefaultInstanceForType()

public EkmConnections getDefaultInstanceForType()
Returns
Type Description
EkmConnections

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEkmConnections(int index)

public EkmConnection getEkmConnections(int index)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Parameter
Name Description
index int
Returns
Type Description
EkmConnection

getEkmConnectionsBuilder(int index)

public EkmConnection.Builder getEkmConnectionsBuilder(int index)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Parameter
Name Description
index int
Returns
Type Description
EkmConnection.Builder

getEkmConnectionsBuilderList()

public List<EkmConnection.Builder> getEkmConnectionsBuilderList()

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Returns
Type Description
List<Builder>

getEkmConnectionsCount()

public int getEkmConnectionsCount()

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Returns
Type Description
int

getEkmConnectionsList()

public List<EkmConnection> getEkmConnectionsList()

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Returns
Type Description
List<EkmConnection>

getEkmConnectionsOrBuilder(int index)

public EkmConnectionOrBuilder getEkmConnectionsOrBuilder(int index)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Parameter
Name Description
index int
Returns
Type Description
EkmConnectionOrBuilder

getEkmConnectionsOrBuilderList()

public List<? extends EkmConnectionOrBuilder> getEkmConnectionsOrBuilderList()

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Returns
Type Description
List<? extends com.google.cloud.cloudcontrolspartner.v1beta.EkmConnectionOrBuilder>

getName()

public String getName()

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EkmConnections other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEkmConnections(int index)

public EkmConnections.Builder removeEkmConnections(int index)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Parameter
Name Description
index int
Returns
Type Description
EkmConnections.Builder

setEkmConnections(int index, EkmConnection value)

public EkmConnections.Builder setEkmConnections(int index, EkmConnection value)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Parameters
Name Description
index int
value EkmConnection
Returns
Type Description
EkmConnections.Builder

setEkmConnections(int index, EkmConnection.Builder builderForValue)

public EkmConnections.Builder setEkmConnections(int index, EkmConnection.Builder builderForValue)

The EKM connections associated with the workload

repeated .google.cloud.cloudcontrolspartner.v1beta.EkmConnection ekm_connections = 2;

Parameters
Name Description
index int
builderForValue EkmConnection.Builder
Returns
Type Description
EkmConnections.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public EkmConnections.Builder setName(String value)

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EkmConnections.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EkmConnections.Builder setNameBytes(ByteString value)

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EkmConnections.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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