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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addEkmConnections(EkmConnection value)
public ListEkmConnectionsResponse.Builder addEkmConnections(EkmConnection value)
The list of EkmConnections.
repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addEkmConnectionsBuilder()
public EkmConnection.Builder addEkmConnectionsBuilder()
The list of EkmConnections.
repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
Returns
addEkmConnectionsBuilder(int index)
public EkmConnection.Builder addEkmConnectionsBuilder(int index)
The list of EkmConnections.
repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListEkmConnectionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListEkmConnectionsResponse build()
Returns
buildPartial()
public ListEkmConnectionsResponse buildPartial()
Returns
clear()
public ListEkmConnectionsResponse.Builder clear()
Returns
Overrides
clearEkmConnections()
public ListEkmConnectionsResponse.Builder clearEkmConnections()
The list of EkmConnections.
repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListEkmConnectionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListEkmConnectionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTotalSize()
public ListEkmConnectionsResponse.Builder clearTotalSize()
The total number of EkmConnections
that matched the query.
int32 total_size = 3;
Returns
clone()
public ListEkmConnectionsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListEkmConnectionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEkmConnections(int index)
public EkmConnection getEkmConnections(int index)
The list of EkmConnections.
repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
Parameter
Returns
getEkmConnectionsBuilder(int index)
public EkmConnection.Builder getEkmConnectionsBuilder(int index)
The list of EkmConnections.
repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
Parameter
Returns
getEkmConnectionsBuilderList()
public List<EkmConnection.Builder> getEkmConnectionsBuilderList()
The list of EkmConnections.
repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
Returns
getEkmConnectionsCount()
public int getEkmConnectionsCount()
The list of EkmConnections.
repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
Returns
getEkmConnectionsList()
public List<EkmConnection> getEkmConnectionsList()
The list of EkmConnections.
repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
Returns
getEkmConnectionsOrBuilder(int index)
public EkmConnectionOrBuilder getEkmConnectionsOrBuilder(int index)
The list of EkmConnections.
repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListEkmConnectionsResponse other)
public ListEkmConnectionsResponse.Builder mergeFrom(ListEkmConnectionsResponse other)
Parameter
Returns
public ListEkmConnectionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListEkmConnectionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListEkmConnectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeEkmConnections(int index)
public ListEkmConnectionsResponse.Builder removeEkmConnections(int index)
The list of EkmConnections.
repeated .google.cloud.kms.v1.EkmConnection ekm_connections = 1;
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListEkmConnectionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListEkmConnectionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final ListEkmConnectionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides