Class Service.ListAttestorsResponse.Builder (1.87.0)

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

Response message for [BinauthzManagementService.ListAttestors][].

Protobuf type google.cloud.binaryauthorization.v1.ListAttestorsResponse

Static Methods

getDescriptor()

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

Methods

addAllAttestors(Iterable<? extends Resources.Attestor> values)

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

The list of attestors.

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

Parameter
Name Description
values Iterable<? extends com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>
Returns
Type Description
Service.ListAttestorsResponse.Builder

addAttestors(Resources.Attestor value)

public Service.ListAttestorsResponse.Builder addAttestors(Resources.Attestor value)

The list of attestors.

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

Parameter
Name Description
value Resources.Attestor
Returns
Type Description
Service.ListAttestorsResponse.Builder

addAttestors(Resources.Attestor.Builder builderForValue)

public Service.ListAttestorsResponse.Builder addAttestors(Resources.Attestor.Builder builderForValue)

The list of attestors.

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

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

addAttestors(int index, Resources.Attestor value)

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

The list of attestors.

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

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

addAttestors(int index, Resources.Attestor.Builder builderForValue)

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

The list of attestors.

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

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

addAttestorsBuilder()

public Resources.Attestor.Builder addAttestorsBuilder()

The list of attestors.

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

Returns
Type Description
Resources.Attestor.Builder

addAttestorsBuilder(int index)

public Resources.Attestor.Builder addAttestorsBuilder(int index)

The list of attestors.

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

Parameter
Name Description
index int
Returns
Type Description
Resources.Attestor.Builder

build()

public Service.ListAttestorsResponse build()
Returns
Type Description
Service.ListAttestorsResponse

buildPartial()

public Service.ListAttestorsResponse buildPartial()
Returns
Type Description
Service.ListAttestorsResponse

clear()

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

clearAttestors()

public Service.ListAttestorsResponse.Builder clearAttestors()

The list of attestors.

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

Returns
Type Description
Service.ListAttestorsResponse.Builder

clearNextPageToken()

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

This builder for chaining.

getAttestors(int index)

public Resources.Attestor getAttestors(int index)

The list of attestors.

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

Parameter
Name Description
index int
Returns
Type Description
Resources.Attestor

getAttestorsBuilder(int index)

public Resources.Attestor.Builder getAttestorsBuilder(int index)

The list of attestors.

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

Parameter
Name Description
index int
Returns
Type Description
Resources.Attestor.Builder

getAttestorsBuilderList()

public List<Resources.Attestor.Builder> getAttestorsBuilderList()

The list of attestors.

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

Returns
Type Description
List<Builder>

getAttestorsCount()

public int getAttestorsCount()

The list of attestors.

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

Returns
Type Description
int

getAttestorsList()

public List<Resources.Attestor> getAttestorsList()

The list of attestors.

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

Returns
Type Description
List<Attestor>

getAttestorsOrBuilder(int index)

public Resources.AttestorOrBuilder getAttestorsOrBuilder(int index)

The list of attestors.

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

Parameter
Name Description
index int
Returns
Type Description
Resources.AttestorOrBuilder

getAttestorsOrBuilderList()

public List<? extends Resources.AttestorOrBuilder> getAttestorsOrBuilderList()

The list of attestors.

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

Returns
Type Description
List<? extends com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder>

getDefaultInstanceForType()

public Service.ListAttestorsResponse getDefaultInstanceForType()
Returns
Type Description
Service.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Service.ListAttestorsResponse other)

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

removeAttestors(int index)

public Service.ListAttestorsResponse.Builder removeAttestors(int index)

The list of attestors.

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

Parameter
Name Description
index int
Returns
Type Description
Service.ListAttestorsResponse.Builder

setAttestors(int index, Resources.Attestor value)

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

The list of attestors.

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

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

setAttestors(int index, Resources.Attestor.Builder builderForValue)

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

The list of attestors.

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

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.