Class EkmConnections.Builder (0.1.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.cloudcontrolspartner.v1beta.EkmConnection>
Returns
TypeDescription
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
NameDescription
valueEkmConnection
Returns
TypeDescription
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
NameDescription
builderForValueEkmConnection.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEkmConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEkmConnection.Builder
Returns
TypeDescription
EkmConnections.Builder

addEkmConnectionsBuilder()

public EkmConnection.Builder addEkmConnectionsBuilder()

The EKM connections associated with the workload

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EkmConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EkmConnections.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EkmConnections.Builder
Overrides

build()

public EkmConnections build()
Returns
TypeDescription
EkmConnections

buildPartial()

public EkmConnections buildPartial()
Returns
TypeDescription
EkmConnections

clear()

public EkmConnections.Builder clear()
Returns
TypeDescription
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
TypeDescription
EkmConnections.Builder

clearField(Descriptors.FieldDescriptor field)

public EkmConnections.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
EkmConnections.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EkmConnections.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EkmConnections.Builder
Overrides

clone()

public EkmConnections.Builder clone()
Returns
TypeDescription
EkmConnections.Builder
Overrides

getDefaultInstanceForType()

public EkmConnections getDefaultInstanceForType()
Returns
TypeDescription
EkmConnections

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getEkmConnectionsCount()

public int getEkmConnectionsCount()

The EKM connections associated with the workload

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

Returns
TypeDescription
int

getEkmConnectionsList()

public List<EkmConnection> getEkmConnectionsList()

The EKM connections associated with the workload

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EkmConnectionOrBuilder

getEkmConnectionsOrBuilderList()

public List<? extends EkmConnectionOrBuilder> getEkmConnectionsOrBuilderList()

The EKM connections associated with the workload

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EkmConnections other)

public EkmConnections.Builder mergeFrom(EkmConnections other)
Parameter
NameDescription
otherEkmConnections
Returns
TypeDescription
EkmConnections.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EkmConnections.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EkmConnections.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EkmConnections.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EkmConnections.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EkmConnections.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueEkmConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEkmConnection.Builder
Returns
TypeDescription
EkmConnections.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EkmConnections.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EkmConnections.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EkmConnections.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EkmConnections.Builder
Overrides