Class ListCryptoKeysRequest.Builder (0.16.0)

public static final class ListCryptoKeysRequest.Builder extends GeneratedMessageV3.Builder<ListCryptoKeysRequest.Builder> implements ListCryptoKeysRequestOrBuilder

Request message for KeyDashboardService.ListCryptoKeys.

Protobuf type google.cloud.kms.inventory.v1.ListCryptoKeysRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCryptoKeysRequest build()
Returns
TypeDescription
ListCryptoKeysRequest

buildPartial()

public ListCryptoKeysRequest buildPartial()
Returns
TypeDescription
ListCryptoKeysRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListCryptoKeysRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListCryptoKeysRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListCryptoKeysRequest.Builder clearPageSize()

Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListCryptoKeysRequest.Builder

This builder for chaining.

clearPageToken()

public ListCryptoKeysRequest.Builder clearPageToken()

Optional. Pass this into a subsequent request in order to receive the next page of results.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListCryptoKeysRequest.Builder

This builder for chaining.

clearParent()

public ListCryptoKeysRequest.Builder clearParent()

Required. The Google Cloud project for which to retrieve key metadata, in the format projects/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListCryptoKeysRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListCryptoKeysRequest getDefaultInstanceForType()
Returns
TypeDescription
ListCryptoKeysRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. Pass this into a subsequent request in order to receive the next page of results.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. Pass this into a subsequent request in order to receive the next page of results.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The Google Cloud project for which to retrieve key metadata, in the format projects/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The Google Cloud project for which to retrieve key metadata, in the format projects/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListCryptoKeysRequest other)

public ListCryptoKeysRequest.Builder mergeFrom(ListCryptoKeysRequest other)
Parameter
NameDescription
otherListCryptoKeysRequest
Returns
TypeDescription
ListCryptoKeysRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCryptoKeysRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListCryptoKeysRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListCryptoKeysRequest.Builder setPageSize(int value)

Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListCryptoKeysRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListCryptoKeysRequest.Builder setPageToken(String value)

Optional. Pass this into a subsequent request in order to receive the next page of results.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListCryptoKeysRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListCryptoKeysRequest.Builder setPageTokenBytes(ByteString value)

Optional. Pass this into a subsequent request in order to receive the next page of results.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListCryptoKeysRequest.Builder

This builder for chaining.

setParent(String value)

public ListCryptoKeysRequest.Builder setParent(String value)

Required. The Google Cloud project for which to retrieve key metadata, in the format projects/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListCryptoKeysRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListCryptoKeysRequest.Builder setParentBytes(ByteString value)

Required. The Google Cloud project for which to retrieve key metadata, in the format projects/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListCryptoKeysRequest.Builder

This builder for chaining.

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

public ListCryptoKeysRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListCryptoKeysRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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