Class Service.ListAttestorsRequest.Builder

Stay organized with collections Save and categorize content based on your preferences.
public static final class Service.ListAttestorsRequest.Builder extends GeneratedMessageV3.Builder<Service.ListAttestorsRequest.Builder> implements Service.ListAttestorsRequestOrBuilder

Request message for [BinauthzManagementService.ListAttestors][].

Protobuf type google.cloud.binaryauthorization.v1.ListAttestorsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Service.ListAttestorsRequest build()
Returns
TypeDescription
Service.ListAttestorsRequest

buildPartial()

public Service.ListAttestorsRequest buildPartial()
Returns
TypeDescription
Service.ListAttestorsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public Service.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
Service.ListAttestorsRequest.Builder

This builder for chaining.

clearPageToken()

public Service.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
Service.ListAttestorsRequest.Builder

This builder for chaining.

clearParent()

public Service.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
Service.ListAttestorsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Service.ListAttestorsRequest getDefaultInstanceForType()
Returns
TypeDescription
Service.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(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Service.ListAttestorsRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public Service.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
Service.ListAttestorsRequest.Builder

This builder for chaining.

setPageToken(String value)

public Service.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
Service.ListAttestorsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public Service.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
Service.ListAttestorsRequest.Builder

This builder for chaining.

setParent(String value)

public Service.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
Service.ListAttestorsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public Service.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
Service.ListAttestorsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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