public static final class ListKeyRingsResponse.Builder extends GeneratedMessage.Builder<ListKeyRingsResponse.Builder> implements ListKeyRingsResponseOrBuilderResponse message for KeyManagementService.ListKeyRings.
Protobuf type google.cloud.kms.v1.ListKeyRingsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListKeyRingsResponse.BuilderImplements
ListKeyRingsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllKeyRings(Iterable<? extends KeyRing> values)
public ListKeyRingsResponse.Builder addAllKeyRings(Iterable<? extends KeyRing> values)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.kms.v1.KeyRing> |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
addKeyRings(KeyRing value)
public ListKeyRingsResponse.Builder addKeyRings(KeyRing value)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
KeyRing |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
addKeyRings(KeyRing.Builder builderForValue)
public ListKeyRingsResponse.Builder addKeyRings(KeyRing.Builder builderForValue)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
KeyRing.Builder |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
addKeyRings(int index, KeyRing value)
public ListKeyRingsResponse.Builder addKeyRings(int index, KeyRing value)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
KeyRing |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
addKeyRings(int index, KeyRing.Builder builderForValue)
public ListKeyRingsResponse.Builder addKeyRings(int index, KeyRing.Builder builderForValue)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
KeyRing.Builder |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
addKeyRingsBuilder()
public KeyRing.Builder addKeyRingsBuilder()The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Returns | |
|---|---|
| Type | Description |
KeyRing.Builder |
|
addKeyRingsBuilder(int index)
public KeyRing.Builder addKeyRingsBuilder(int index)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
KeyRing.Builder |
|
build()
public ListKeyRingsResponse build()| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse |
|
buildPartial()
public ListKeyRingsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse |
|
clear()
public ListKeyRingsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
clearKeyRings()
public ListKeyRingsResponse.Builder clearKeyRings()The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
clearNextPageToken()
public ListKeyRingsResponse.Builder clearNextPageToken()A token to retrieve next page of results. Pass this value in ListKeyRingsRequest.page_token to retrieve the next page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
This builder for chaining. |
clearTotalSize()
public ListKeyRingsResponse.Builder clearTotalSize()The total number of KeyRings that matched the query.
This field is not populated if ListKeyRingsRequest.filter is applied.
int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListKeyRingsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKeyRings(int index)
public KeyRing getKeyRings(int index)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
KeyRing |
|
getKeyRingsBuilder(int index)
public KeyRing.Builder getKeyRingsBuilder(int index)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
KeyRing.Builder |
|
getKeyRingsBuilderList()
public List<KeyRing.Builder> getKeyRingsBuilderList()The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getKeyRingsCount()
public int getKeyRingsCount()The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getKeyRingsList()
public List<KeyRing> getKeyRingsList()The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Returns | |
|---|---|
| Type | Description |
List<KeyRing> |
|
getKeyRingsOrBuilder(int index)
public KeyRingOrBuilder getKeyRingsOrBuilder(int index)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
KeyRingOrBuilder |
|
getKeyRingsOrBuilderList()
public List<? extends KeyRingOrBuilder> getKeyRingsOrBuilderList()The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.kms.v1.KeyRingOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()A token to retrieve next page of results. Pass this value in ListKeyRingsRequest.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 ListKeyRingsRequest.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 KeyRings that matched the query.
This field is not populated if ListKeyRingsRequest.filter is applied.
int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The totalSize. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListKeyRingsResponse other)
public ListKeyRingsResponse.Builder mergeFrom(ListKeyRingsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListKeyRingsResponse |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListKeyRingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListKeyRingsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
removeKeyRings(int index)
public ListKeyRingsResponse.Builder removeKeyRings(int index)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
setKeyRings(int index, KeyRing value)
public ListKeyRingsResponse.Builder setKeyRings(int index, KeyRing value)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
KeyRing |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
setKeyRings(int index, KeyRing.Builder builderForValue)
public ListKeyRingsResponse.Builder setKeyRings(int index, KeyRing.Builder builderForValue)The list of KeyRings.
repeated .google.cloud.kms.v1.KeyRing key_rings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
KeyRing.Builder |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
|
setNextPageToken(String value)
public ListKeyRingsResponse.Builder setNextPageToken(String value)A token to retrieve next page of results. Pass this value in ListKeyRingsRequest.page_token to retrieve the next page of results.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListKeyRingsResponse.Builder setNextPageTokenBytes(ByteString value)A token to retrieve next page of results. Pass this value in ListKeyRingsRequest.page_token to retrieve the next page of results.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
This builder for chaining. |
setTotalSize(int value)
public ListKeyRingsResponse.Builder setTotalSize(int value)The total number of KeyRings that matched the query.
This field is not populated if ListKeyRingsRequest.filter is applied.
int32 total_size = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe totalSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListKeyRingsResponse.Builder |
This builder for chaining. |