Class Service.ListAttestorsResponse.Builder (1.40.0)

public static final class Service.ListAttestorsResponse.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>
Returns
TypeDescription
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
NameDescription
valueResources.Attestor
Returns
TypeDescription
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
NameDescription
builderForValueResources.Attestor.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueResources.Attestor
Returns
TypeDescription
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
NameDescription
indexint
builderForValueResources.Attestor.Builder
Returns
TypeDescription
Service.ListAttestorsResponse.Builder

addAttestorsBuilder()

public Resources.Attestor.Builder addAttestorsBuilder()

The list of attestors.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Resources.Attestor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAttestors()

public Service.ListAttestorsResponse.Builder clearAttestors()

The list of attestors.

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

Returns
TypeDescription
Service.ListAttestorsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAttestors(int index)

public Resources.Attestor getAttestors(int index)

The list of attestors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Resources.Attestor.Builder

getAttestorsBuilderList()

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

The list of attestors.

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

Returns
TypeDescription
List<Builder>

getAttestorsCount()

public int getAttestorsCount()

The list of attestors.

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

Returns
TypeDescription
int

getAttestorsList()

public List<Resources.Attestor> getAttestorsList()

The list of attestors.

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

Returns
TypeDescription
List<Attestor>

getAttestorsOrBuilder(int index)

public Resources.AttestorOrBuilder getAttestorsOrBuilder(int index)

The list of attestors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Resources.AttestorOrBuilder

getAttestorsOrBuilderList()

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

The list of attestors.

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

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

getDefaultInstanceForType()

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

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

mergeFrom(Message other)

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

mergeFrom(Service.ListAttestorsResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAttestors(int index)

public Service.ListAttestorsResponse.Builder removeAttestors(int index)

The list of attestors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueResources.Attestor
Returns
TypeDescription
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
NameDescription
indexint
builderForValueResources.Attestor.Builder
Returns
TypeDescription
Service.ListAttestorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
Service.ListAttestorsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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