Class ListSecretVersionsRequest.Builder (2.28.0)

public static final class ListSecretVersionsRequest.Builder extends GeneratedMessageV3.Builder<ListSecretVersionsRequest.Builder> implements ListSecretVersionsRequestOrBuilder

Request message for SecretManagerService.ListSecretVersions.

Protobuf type google.cloud.secrets.v1beta1.ListSecretVersionsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListSecretVersionsRequest build()
Returns
TypeDescription
ListSecretVersionsRequest

buildPartial()

public ListSecretVersionsRequest buildPartial()
Returns
TypeDescription
ListSecretVersionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListSecretVersionsRequest.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
ListSecretVersionsRequest.Builder

This builder for chaining.

clearPageToken()

public ListSecretVersionsRequest.Builder clearPageToken()

Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][].

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

Returns
TypeDescription
ListSecretVersionsRequest.Builder

This builder for chaining.

clearParent()

public ListSecretVersionsRequest.Builder clearParent()

Required. The resource name of the Secret associated with the SecretVersions to list, in the format projects/*/secrets/*.

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

Returns
TypeDescription
ListSecretVersionsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListSecretVersionsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListSecretVersionsRequest

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 ListSecretVersionsResponse.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 ListSecretVersionsResponse.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 Secret associated with the SecretVersions to list, in the format projects/*/secrets/*.

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 Secret associated with the SecretVersions to list, in the format projects/*/secrets/*.

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(ListSecretVersionsRequest other)

public ListSecretVersionsRequest.Builder mergeFrom(ListSecretVersionsRequest other)
Parameter
NameDescription
otherListSecretVersionsRequest
Returns
TypeDescription
ListSecretVersionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListSecretVersionsRequest.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
ListSecretVersionsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListSecretVersionsRequest.Builder setPageToken(String value)

Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][].

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

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListSecretVersionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListSecretVersionsRequest.Builder setPageTokenBytes(ByteString value)

Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][].

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

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListSecretVersionsRequest.Builder

This builder for chaining.

setParent(String value)

public ListSecretVersionsRequest.Builder setParent(String value)

Required. The resource name of the Secret associated with the SecretVersions to list, in the format projects/*/secrets/*.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListSecretVersionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListSecretVersionsRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Secret associated with the SecretVersions to list, in the format projects/*/secrets/*.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListSecretVersionsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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