Class ListAttestorsResponse.Builder (1.47.0)

public static final class ListAttestorsResponse.Builder extends GeneratedMessageV3.Builder<ListAttestorsResponse.Builder> implements ListAttestorsResponseOrBuilder

Response message for [BinauthzManagementService.ListAttestors][].

Protobuf type google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAttestors(Iterable<? extends Attestor> values)

public ListAttestorsResponse.Builder addAllAttestors(Iterable<? extends Attestor> values)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.binaryauthorization.v1beta1.Attestor>
Returns
Type Description
ListAttestorsResponse.Builder

addAttestors(Attestor value)

public ListAttestorsResponse.Builder addAttestors(Attestor value)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameter
Name Description
value Attestor
Returns
Type Description
ListAttestorsResponse.Builder

addAttestors(Attestor.Builder builderForValue)

public ListAttestorsResponse.Builder addAttestors(Attestor.Builder builderForValue)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameter
Name Description
builderForValue Attestor.Builder
Returns
Type Description
ListAttestorsResponse.Builder

addAttestors(int index, Attestor value)

public ListAttestorsResponse.Builder addAttestors(int index, Attestor value)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameters
Name Description
index int
value Attestor
Returns
Type Description
ListAttestorsResponse.Builder

addAttestors(int index, Attestor.Builder builderForValue)

public ListAttestorsResponse.Builder addAttestors(int index, Attestor.Builder builderForValue)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameters
Name Description
index int
builderForValue Attestor.Builder
Returns
Type Description
ListAttestorsResponse.Builder

addAttestorsBuilder()

public Attestor.Builder addAttestorsBuilder()

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Returns
Type Description
Attestor.Builder

addAttestorsBuilder(int index)

public Attestor.Builder addAttestorsBuilder(int index)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameter
Name Description
index int
Returns
Type Description
Attestor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAttestorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAttestorsResponse.Builder
Overrides

build()

public ListAttestorsResponse build()
Returns
Type Description
ListAttestorsResponse

buildPartial()

public ListAttestorsResponse buildPartial()
Returns
Type Description
ListAttestorsResponse

clear()

public ListAttestorsResponse.Builder clear()
Returns
Type Description
ListAttestorsResponse.Builder
Overrides

clearAttestors()

public ListAttestorsResponse.Builder clearAttestors()

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Returns
Type Description
ListAttestorsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAttestorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListAttestorsResponse.Builder
Overrides

clearNextPageToken()

public ListAttestorsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the ListAttestors method to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ListAttestorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAttestorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListAttestorsResponse.Builder
Overrides

clone()

public ListAttestorsResponse.Builder clone()
Returns
Type Description
ListAttestorsResponse.Builder
Overrides

getAttestors(int index)

public Attestor getAttestors(int index)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameter
Name Description
index int
Returns
Type Description
Attestor

getAttestorsBuilder(int index)

public Attestor.Builder getAttestorsBuilder(int index)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameter
Name Description
index int
Returns
Type Description
Attestor.Builder

getAttestorsBuilderList()

public List<Attestor.Builder> getAttestorsBuilderList()

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Returns
Type Description
List<Builder>

getAttestorsCount()

public int getAttestorsCount()

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Returns
Type Description
int

getAttestorsList()

public List<Attestor> getAttestorsList()

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Returns
Type Description
List<Attestor>

getAttestorsOrBuilder(int index)

public AttestorOrBuilder getAttestorsOrBuilder(int index)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameter
Name Description
index int
Returns
Type Description
AttestorOrBuilder

getAttestorsOrBuilderList()

public List<? extends AttestorOrBuilder> getAttestorsOrBuilderList()

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Returns
Type Description
List<? extends com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>

getDefaultInstanceForType()

public ListAttestorsResponse getDefaultInstanceForType()
Returns
Type Description
ListAttestorsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the ListAttestors method to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the ListAttestors method to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAttestorsResponse other)

public ListAttestorsResponse.Builder mergeFrom(ListAttestorsResponse other)
Parameter
Name Description
other ListAttestorsResponse
Returns
Type Description
ListAttestorsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAttestorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAttestorsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListAttestorsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListAttestorsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAttestorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAttestorsResponse.Builder
Overrides

removeAttestors(int index)

public ListAttestorsResponse.Builder removeAttestors(int index)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAttestorsResponse.Builder

setAttestors(int index, Attestor value)

public ListAttestorsResponse.Builder setAttestors(int index, Attestor value)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameters
Name Description
index int
value Attestor
Returns
Type Description
ListAttestorsResponse.Builder

setAttestors(int index, Attestor.Builder builderForValue)

public ListAttestorsResponse.Builder setAttestors(int index, Attestor.Builder builderForValue)

The list of attestors.

repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1;

Parameters
Name Description
index int
builderForValue Attestor.Builder
Returns
Type Description
ListAttestorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAttestorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAttestorsResponse.Builder
Overrides

setNextPageToken(String value)

public ListAttestorsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the ListAttestors method to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAttestorsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAttestorsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the ListAttestors method to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAttestorsResponse.Builder

This builder for chaining.

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

public ListAttestorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListAttestorsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAttestorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAttestorsResponse.Builder
Overrides