Class ListAttestorsRequest.Builder (1.10.0)

public static final class ListAttestorsRequest.Builder extends GeneratedMessageV3.Builder<ListAttestorsRequest.Builder> implements ListAttestorsRequestOrBuilder

Request message for [BinauthzManagementService.ListAttestors][].

Protobuf type google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAttestorsRequest build()
Returns
TypeDescription
ListAttestorsRequest

buildPartial()

public ListAttestorsRequest buildPartial()
Returns
TypeDescription
ListAttestorsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListAttestorsRequest.Builder clearPageSize()

Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

int32 page_size = 2;

Returns
TypeDescription
ListAttestorsRequest.Builder

This builder for chaining.

clearPageToken()

public ListAttestorsRequest.Builder clearPageToken()

A token identifying a page of results the server should return. Typically, this is the value of ListAttestorsResponse.next_page_token returned from the previous call to the ListAttestors method.

string page_token = 3;

Returns
TypeDescription
ListAttestorsRequest.Builder

This builder for chaining.

clearParent()

public ListAttestorsRequest.Builder clearParent()

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

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

Returns
TypeDescription
ListAttestorsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListAttestorsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListAttestorsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A token identifying a page of results the server should return. Typically, this is the value of ListAttestorsResponse.next_page_token returned from the previous call to the ListAttestors method.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A token identifying a page of results the server should return. Typically, this is the value of ListAttestorsResponse.next_page_token returned from the previous call to the ListAttestors method.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

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

public ListAttestorsRequest.Builder mergeFrom(ListAttestorsRequest other)
Parameter
NameDescription
otherListAttestorsRequest
Returns
TypeDescription
ListAttestorsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListAttestorsRequest.Builder setPageSize(int value)

Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListAttestorsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListAttestorsRequest.Builder setPageToken(String value)

A token identifying a page of results the server should return. Typically, this is the value of ListAttestorsResponse.next_page_token returned from the previous call to the ListAttestors method.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListAttestorsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListAttestorsRequest.Builder setPageTokenBytes(ByteString value)

A token identifying a page of results the server should return. Typically, this is the value of ListAttestorsResponse.next_page_token returned from the previous call to the ListAttestors method.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListAttestorsRequest.Builder

This builder for chaining.

setParent(String value)

public ListAttestorsRequest.Builder setParent(String value)

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

This builder for chaining.

setParentBytes(ByteString value)

public ListAttestorsRequest.Builder setParentBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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