public static final class ListCryptoKeysRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder> implements ListCryptoKeysRequestOrBuilder
Request message for [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys].Protobuf type
google.cloud.kms.v1.ListCryptoKeysRequest| Modifier and Type | Method and Description |
|---|---|
ListCryptoKeysRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListCryptoKeysRequest |
build() |
ListCryptoKeysRequest |
buildPartial() |
ListCryptoKeysRequest.Builder |
clear() |
ListCryptoKeysRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListCryptoKeysRequest.Builder |
clearFilter()
Optional.
|
ListCryptoKeysRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListCryptoKeysRequest.Builder |
clearOrderBy()
Optional.
|
ListCryptoKeysRequest.Builder |
clearPageSize()
Optional.
|
ListCryptoKeysRequest.Builder |
clearPageToken()
Optional.
|
ListCryptoKeysRequest.Builder |
clearParent()
Required.
|
ListCryptoKeysRequest.Builder |
clearVersionView()
The fields of the primary version to include in the response.
|
ListCryptoKeysRequest.Builder |
clone() |
ListCryptoKeysRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
Optional.
|
com.google.protobuf.ByteString |
getFilterBytes()
Optional.
|
String |
getOrderBy()
Optional.
|
com.google.protobuf.ByteString |
getOrderByBytes()
Optional.
|
int |
getPageSize()
Optional.
|
String |
getPageToken()
Optional.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Optional.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
CryptoKeyVersion.CryptoKeyVersionView |
getVersionView()
The fields of the primary version to include in the response.
|
int |
getVersionViewValue()
The fields of the primary version to include in the response.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListCryptoKeysRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListCryptoKeysRequest.Builder |
mergeFrom(ListCryptoKeysRequest other) |
ListCryptoKeysRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListCryptoKeysRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListCryptoKeysRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListCryptoKeysRequest.Builder |
setFilter(String value)
Optional.
|
ListCryptoKeysRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
Optional.
|
ListCryptoKeysRequest.Builder |
setOrderBy(String value)
Optional.
|
ListCryptoKeysRequest.Builder |
setOrderByBytes(com.google.protobuf.ByteString value)
Optional.
|
ListCryptoKeysRequest.Builder |
setPageSize(int value)
Optional.
|
ListCryptoKeysRequest.Builder |
setPageToken(String value)
Optional.
|
ListCryptoKeysRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
Optional.
|
ListCryptoKeysRequest.Builder |
setParent(String value)
Required.
|
ListCryptoKeysRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListCryptoKeysRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListCryptoKeysRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListCryptoKeysRequest.Builder |
setVersionView(CryptoKeyVersion.CryptoKeyVersionView value)
The fields of the primary version to include in the response.
|
ListCryptoKeysRequest.Builder |
setVersionViewValue(int value)
The fields of the primary version to include in the response.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>public ListCryptoKeysRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>public ListCryptoKeysRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListCryptoKeysRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListCryptoKeysRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListCryptoKeysRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>public ListCryptoKeysRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>public ListCryptoKeysRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>public ListCryptoKeysRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>public ListCryptoKeysRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>public ListCryptoKeysRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>public ListCryptoKeysRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListCryptoKeysRequest.Builder>public ListCryptoKeysRequest.Builder mergeFrom(ListCryptoKeysRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>public ListCryptoKeysRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListCryptoKeysRequest.Builder>IOExceptionpublic String getParent()
Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format `projects/*/locations/*/keyRings/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListCryptoKeysRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format `projects/*/locations/*/keyRings/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListCryptoKeysRequestOrBuilderpublic ListCryptoKeysRequest.Builder setParent(String value)
Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format `projects/*/locations/*/keyRings/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListCryptoKeysRequest.Builder clearParent()
Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format `projects/*/locations/*/keyRings/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListCryptoKeysRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format `projects/*/locations/*/keyRings/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public int getPageSize()
Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the response. Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];getPageSize in interface ListCryptoKeysRequestOrBuilderpublic ListCryptoKeysRequest.Builder setPageSize(int value)
Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the response. Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];value - The pageSize to set.public ListCryptoKeysRequest.Builder clearPageSize()
Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the response. Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];public String getPageToken()
Optional. Optional pagination token, returned earlier via [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token].
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageToken in interface ListCryptoKeysRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. Optional pagination token, returned earlier via [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token].
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageTokenBytes in interface ListCryptoKeysRequestOrBuilderpublic ListCryptoKeysRequest.Builder setPageToken(String value)
Optional. Optional pagination token, returned earlier via [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token].
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The pageToken to set.public ListCryptoKeysRequest.Builder clearPageToken()
Optional. Optional pagination token, returned earlier via [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token].
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];public ListCryptoKeysRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. Optional pagination token, returned earlier via [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token].
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for pageToken to set.public int getVersionViewValue()
The fields of the primary version to include in the response.
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView version_view = 4;getVersionViewValue in interface ListCryptoKeysRequestOrBuilderpublic ListCryptoKeysRequest.Builder setVersionViewValue(int value)
The fields of the primary version to include in the response.
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView version_view = 4;value - The enum numeric value on the wire for versionView to set.public CryptoKeyVersion.CryptoKeyVersionView getVersionView()
The fields of the primary version to include in the response.
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView version_view = 4;getVersionView in interface ListCryptoKeysRequestOrBuilderpublic ListCryptoKeysRequest.Builder setVersionView(CryptoKeyVersion.CryptoKeyVersionView value)
The fields of the primary version to include in the response.
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView version_view = 4;value - The versionView to set.public ListCryptoKeysRequest.Builder clearVersionView()
The fields of the primary version to include in the response.
.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionView version_view = 4;public String getFilter()
Optional. Only include resources that match the filter in the response. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];getFilter in interface ListCryptoKeysRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Optional. Only include resources that match the filter in the response. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];getFilterBytes in interface ListCryptoKeysRequestOrBuilderpublic ListCryptoKeysRequest.Builder setFilter(String value)
Optional. Only include resources that match the filter in the response. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];value - The filter to set.public ListCryptoKeysRequest.Builder clearFilter()
Optional. Only include resources that match the filter in the response. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];public ListCryptoKeysRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Optional. Only include resources that match the filter in the response. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
string filter = 5 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for filter to set.public String getOrderBy()
Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];getOrderBy in interface ListCryptoKeysRequestOrBuilderpublic com.google.protobuf.ByteString getOrderByBytes()
Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];getOrderByBytes in interface ListCryptoKeysRequestOrBuilderpublic ListCryptoKeysRequest.Builder setOrderBy(String value)
Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];value - The orderBy to set.public ListCryptoKeysRequest.Builder clearOrderBy()
Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];public ListCryptoKeysRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for orderBy to set.public final ListCryptoKeysRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>public final ListCryptoKeysRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.