Class ListSecretsRequest.Builder (2.15.0)

public static final class ListSecretsRequest.Builder extends GeneratedMessageV3.Builder<ListSecretsRequest.Builder> implements ListSecretsRequestOrBuilder

Request message for SecretManagerService.ListSecrets.

Protobuf type google.cloud.secrets.v1beta1.ListSecretsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListSecretsRequest build()
Returns
TypeDescription
ListSecretsRequest

buildPartial()

public ListSecretsRequest buildPartial()
Returns
TypeDescription
ListSecretsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListSecretsRequest.Builder clearPageSize()

Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.

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

Returns
TypeDescription
ListSecretsRequest.Builder

This builder for chaining.

clearPageToken()

public ListSecretsRequest.Builder clearPageToken()

Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.

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

Returns
TypeDescription
ListSecretsRequest.Builder

This builder for chaining.

clearParent()

public ListSecretsRequest.Builder clearParent()

Required. The resource name of the project associated with the Secrets, in the format projects/*.

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

Returns
TypeDescription
ListSecretsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListSecretsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListSecretsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.

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

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.

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

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.

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

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The resource name of the project associated with the Secrets, 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 resource name of the project associated with the Secrets, 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(ListSecretsRequest other)

public ListSecretsRequest.Builder mergeFrom(ListSecretsRequest other)
Parameter
NameDescription
otherListSecretsRequest
Returns
TypeDescription
ListSecretsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListSecretsRequest.Builder setPageSize(int value)

Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.

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

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListSecretsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListSecretsRequest.Builder setPageToken(String value)

Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.

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

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListSecretsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListSecretsRequest.Builder setPageTokenBytes(ByteString value)

Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.

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

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListSecretsRequest.Builder

This builder for chaining.

setParent(String value)

public ListSecretsRequest.Builder setParent(String value)

Required. The resource name of the project associated with the Secrets, 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
ListSecretsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListSecretsRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the project associated with the Secrets, 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
ListSecretsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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