Class ListEkmConnectionsResponse.Builder (2.54.0)

public static final class ListEkmConnectionsResponse.Builder extends GeneratedMessageV3.Builder<ListEkmConnectionsResponse.Builder> implements ListEkmConnectionsResponseOrBuilder

Response message for EkmService.ListEkmConnections.

Protobuf type google.cloud.kms.v1.ListEkmConnectionsResponse

Static Methods

getDescriptor()

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

Methods

addAllEkmConnections(Iterable<? extends EkmConnection> values)

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

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.kms.v1.EkmConnection>
Returns
Type Description
ListEkmConnectionsResponse.Builder

addEkmConnections(EkmConnection value)

public ListEkmConnectionsResponse.Builder addEkmConnections(EkmConnection value)

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Parameter
Name Description
value EkmConnection
Returns
Type Description
ListEkmConnectionsResponse.Builder

addEkmConnections(EkmConnection.Builder builderForValue)

public ListEkmConnectionsResponse.Builder addEkmConnections(EkmConnection.Builder builderForValue)

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

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

addEkmConnections(int index, EkmConnection value)

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

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

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

addEkmConnections(int index, EkmConnection.Builder builderForValue)

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

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

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

addEkmConnectionsBuilder()

public EkmConnection.Builder addEkmConnectionsBuilder()

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Returns
Type Description
EkmConnection.Builder

addEkmConnectionsBuilder(int index)

public EkmConnection.Builder addEkmConnectionsBuilder(int index)

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
EkmConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEkmConnectionsResponse build()
Returns
Type Description
ListEkmConnectionsResponse

buildPartial()

public ListEkmConnectionsResponse buildPartial()
Returns
Type Description
ListEkmConnectionsResponse

clear()

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

clearEkmConnections()

public ListEkmConnectionsResponse.Builder clearEkmConnections()

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Returns
Type Description
ListEkmConnectionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEkmConnectionsResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass this value in ListEkmConnectionsRequest.page_token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ListEkmConnectionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalSize()

public ListEkmConnectionsResponse.Builder clearTotalSize()

The total number of EkmConnections that matched the query.

int32 total_size = 3;

Returns
Type Description
ListEkmConnectionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListEkmConnectionsResponse getDefaultInstanceForType()
Returns
Type Description
ListEkmConnectionsResponse

getDescriptorForType()

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

getEkmConnections(int index)

public EkmConnection getEkmConnections(int index)

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
EkmConnection

getEkmConnectionsBuilder(int index)

public EkmConnection.Builder getEkmConnectionsBuilder(int index)

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
EkmConnection.Builder

getEkmConnectionsBuilderList()

public List<EkmConnection.Builder> getEkmConnectionsBuilderList()

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Returns
Type Description
List<Builder>

getEkmConnectionsCount()

public int getEkmConnectionsCount()

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Returns
Type Description
int

getEkmConnectionsList()

public List<EkmConnection> getEkmConnectionsList()

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Returns
Type Description
List<EkmConnection>

getEkmConnectionsOrBuilder(int index)

public EkmConnectionOrBuilder getEkmConnectionsOrBuilder(int index)

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
EkmConnectionOrBuilder

getEkmConnectionsOrBuilderList()

public List<? extends EkmConnectionOrBuilder> getEkmConnectionsOrBuilderList()

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Returns
Type Description
List<? extends com.google.cloud.kms.v1.EkmConnectionOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass this value in ListEkmConnectionsRequest.page_token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results. Pass this value in ListEkmConnectionsRequest.page_token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTotalSize()

public int getTotalSize()

The total number of EkmConnections that matched the query.

int32 total_size = 3;

Returns
Type Description
int

The totalSize.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListEkmConnectionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEkmConnections(int index)

public ListEkmConnectionsResponse.Builder removeEkmConnections(int index)

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEkmConnectionsResponse.Builder

setEkmConnections(int index, EkmConnection value)

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

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

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

setEkmConnections(int index, EkmConnection.Builder builderForValue)

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

The list of EkmConnections.

repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListEkmConnectionsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results. Pass this value in ListEkmConnectionsRequest.page_token to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListEkmConnectionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEkmConnectionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass this value in ListEkmConnectionsRequest.page_token to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListEkmConnectionsResponse.Builder

This builder for chaining.

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

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

setTotalSize(int value)

public ListEkmConnectionsResponse.Builder setTotalSize(int value)

The total number of EkmConnections that matched the query.

int32 total_size = 3;

Parameter
Name Description
value int

The totalSize to set.

Returns
Type Description
ListEkmConnectionsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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