Class ListEkmConnectionsResponse.Builder (2.6.6)

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

Response message for [KeyManagementService.ListEkmConnections][].

Protobuf type google.cloud.kms.v1.ListEkmConnectionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.kms.v1.EkmConnection>
Returns
TypeDescription
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
NameDescription
valueEkmConnection
Returns
TypeDescription
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
NameDescription
builderForValueEkmConnection.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEkmConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEkmConnection.Builder
Returns
TypeDescription
ListEkmConnectionsResponse.Builder

addEkmConnectionsBuilder()

public EkmConnection.Builder addEkmConnectionsBuilder()

The list of EkmConnections.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEkmConnectionsResponse build()
Returns
TypeDescription
ListEkmConnectionsResponse

buildPartial()

public ListEkmConnectionsResponse buildPartial()
Returns
TypeDescription
ListEkmConnectionsResponse

clear()

public ListEkmConnectionsResponse.Builder clear()
Returns
TypeDescription
ListEkmConnectionsResponse.Builder
Overrides

clearEkmConnections()

public ListEkmConnectionsResponse.Builder clearEkmConnections()

The list of EkmConnections.

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

Returns
TypeDescription
ListEkmConnectionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalSize()

public ListEkmConnectionsResponse.Builder clearTotalSize()

The total number of EkmConnections that matched the query.

int32 total_size = 3;

Returns
TypeDescription
ListEkmConnectionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListEkmConnectionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListEkmConnectionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEkmConnections(int index)

public EkmConnection getEkmConnections(int index)

The list of EkmConnections.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EkmConnection

getEkmConnectionsBuilder(int index)

public EkmConnection.Builder getEkmConnectionsBuilder(int index)

The list of EkmConnections.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EkmConnection.Builder

getEkmConnectionsBuilderList()

public List<EkmConnection.Builder> getEkmConnectionsBuilderList()

The list of EkmConnections.

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

Returns
TypeDescription
List<Builder>

getEkmConnectionsCount()

public int getEkmConnectionsCount()

The list of EkmConnections.

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

Returns
TypeDescription
int

getEkmConnectionsList()

public List<EkmConnection> getEkmConnectionsList()

The list of EkmConnections.

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

Returns
TypeDescription
List<EkmConnection>

getEkmConnectionsOrBuilder(int index)

public EkmConnectionOrBuilder getEkmConnectionsOrBuilder(int index)

The list of EkmConnections.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EkmConnectionOrBuilder

getEkmConnectionsOrBuilderList()

public List<? extends EkmConnectionOrBuilder> getEkmConnectionsOrBuilderList()

The list of EkmConnections.

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

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

The bytes for nextPageToken.

getTotalSize()

public int getTotalSize()

The total number of EkmConnections that matched the query.

int32 total_size = 3;

Returns
TypeDescription
int

The totalSize.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListEkmConnectionsResponse other)

public ListEkmConnectionsResponse.Builder mergeFrom(ListEkmConnectionsResponse other)
Parameter
NameDescription
otherListEkmConnectionsResponse
Returns
TypeDescription
ListEkmConnectionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The totalSize to set.

Returns
TypeDescription
ListEkmConnectionsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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