Class ListAttestorsResponse.Builder

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.binaryauthorization.v1beta1.Attestor>
Returns
TypeDescription
ListAttestorsResponse.Builder

addAttestors(Attestor value)

public ListAttestorsResponse.Builder addAttestors(Attestor value)

The list of attestors.

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

Parameter
NameDescription
valueAttestor
Returns
TypeDescription
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
NameDescription
builderForValueAttestor.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAttestor
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttestor.Builder
Returns
TypeDescription
ListAttestorsResponse.Builder

addAttestorsBuilder()

public Attestor.Builder addAttestorsBuilder()

The list of attestors.

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

Returns
TypeDescription
Attestor.Builder

addAttestorsBuilder(int index)

public Attestor.Builder addAttestorsBuilder(int index)

The list of attestors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Attestor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAttestorsResponse build()
Returns
TypeDescription
ListAttestorsResponse

buildPartial()

public ListAttestorsResponse buildPartial()
Returns
TypeDescription
ListAttestorsResponse

clear()

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

clearAttestors()

public ListAttestorsResponse.Builder clearAttestors()

The list of attestors.

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

Returns
TypeDescription
ListAttestorsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAttestorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListAttestorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAttestors(int index)

public Attestor getAttestors(int index)

The list of attestors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Attestor

getAttestorsBuilder(int index)

public Attestor.Builder getAttestorsBuilder(int index)

The list of attestors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Attestor.Builder

getAttestorsBuilderList()

public List<Attestor.Builder> getAttestorsBuilderList()

The list of attestors.

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

Returns
TypeDescription
List<Builder>

getAttestorsCount()

public int getAttestorsCount()

The list of attestors.

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

Returns
TypeDescription
int

getAttestorsList()

public List<Attestor> getAttestorsList()

The list of attestors.

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

Returns
TypeDescription
List<Attestor>

getAttestorsOrBuilder(int index)

public AttestorOrBuilder getAttestorsOrBuilder(int index)

The list of attestors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AttestorOrBuilder

getAttestorsOrBuilderList()

public List<? extends AttestorOrBuilder> getAttestorsOrBuilderList()

The list of attestors.

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

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

getDefaultInstanceForType()

public ListAttestorsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAttestorsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAttestorsResponse other)

public ListAttestorsResponse.Builder mergeFrom(ListAttestorsResponse other)
Parameter
NameDescription
otherListAttestorsResponse
Returns
TypeDescription
ListAttestorsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAttestorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAttestor
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttestor.Builder
Returns
TypeDescription
ListAttestorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAttestorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAttestorsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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