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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
addAttestorsBuilder()
public Resources.Attestor.Builder addAttestorsBuilder()
The list of attestors.
repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
Returns
addAttestorsBuilder(int index)
public Resources.Attestor.Builder addAttestorsBuilder(int index)
The list of attestors.
repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Service.ListAttestorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Service.ListAttestorsResponse build()
Returns
buildPartial()
public Service.ListAttestorsResponse buildPartial()
Returns
clear()
public Service.ListAttestorsResponse.Builder clear()
Returns
Overrides
clearAttestors()
public Service.ListAttestorsResponse.Builder clearAttestors()
The list of attestors.
repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Service.ListAttestorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public Service.ListAttestorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Service.ListAttestorsResponse.Builder clone()
Returns
Overrides
getAttestors(int index)
public Resources.Attestor getAttestors(int index)
The list of attestors.
repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
Parameter
Returns
getAttestorsBuilder(int index)
public Resources.Attestor.Builder getAttestorsBuilder(int index)
The list of attestors.
repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
Parameter
Returns
getAttestorsBuilderList()
public List<Resources.Attestor.Builder> getAttestorsBuilderList()
The list of attestors.
repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
Returns
getAttestorsCount()
public int getAttestorsCount()
The list of attestors.
repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
Returns
getAttestorsList()
public List<Resources.Attestor> getAttestorsList()
The list of attestors.
repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
Returns
getAttestorsOrBuilder(int index)
public Resources.AttestorOrBuilder getAttestorsOrBuilder(int index)
The list of attestors.
repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
Parameter
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Service.ListAttestorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Service.ListAttestorsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Service.ListAttestorsResponse other)
public Service.ListAttestorsResponse.Builder mergeFrom(Service.ListAttestorsResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Service.ListAttestorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAttestors(int index)
public Service.ListAttestorsResponse.Builder removeAttestors(int index)
The list of attestors.
repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1;
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Service.ListAttestorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The nextPageToken to set.
|
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Service.ListAttestorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Service.ListAttestorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides