Class ListCaPoolsResponse.Builder (2.56.0)

public static final class ListCaPoolsResponse.Builder extends GeneratedMessageV3.Builder<ListCaPoolsResponse.Builder> implements ListCaPoolsResponseOrBuilder

Response message for CertificateAuthorityService.ListCaPools.

Protobuf type google.cloud.security.privateca.v1.ListCaPoolsResponse

Static Methods

getDescriptor()

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

Methods

addAllCaPools(Iterable<? extends CaPool> values)

public ListCaPoolsResponse.Builder addAllCaPools(Iterable<? extends CaPool> values)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.security.privateca.v1.CaPool>
Returns
Type Description
ListCaPoolsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListCaPoolsResponse.Builder addAllUnreachable(Iterable<String> values)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListCaPoolsResponse.Builder

This builder for chaining.

addCaPools(CaPool value)

public ListCaPoolsResponse.Builder addCaPools(CaPool value)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameter
Name Description
value CaPool
Returns
Type Description
ListCaPoolsResponse.Builder

addCaPools(CaPool.Builder builderForValue)

public ListCaPoolsResponse.Builder addCaPools(CaPool.Builder builderForValue)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameter
Name Description
builderForValue CaPool.Builder
Returns
Type Description
ListCaPoolsResponse.Builder

addCaPools(int index, CaPool value)

public ListCaPoolsResponse.Builder addCaPools(int index, CaPool value)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameters
Name Description
index int
value CaPool
Returns
Type Description
ListCaPoolsResponse.Builder

addCaPools(int index, CaPool.Builder builderForValue)

public ListCaPoolsResponse.Builder addCaPools(int index, CaPool.Builder builderForValue)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameters
Name Description
index int
builderForValue CaPool.Builder
Returns
Type Description
ListCaPoolsResponse.Builder

addCaPoolsBuilder()

public CaPool.Builder addCaPoolsBuilder()

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Returns
Type Description
CaPool.Builder

addCaPoolsBuilder(int index)

public CaPool.Builder addCaPoolsBuilder(int index)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
CaPool.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListCaPoolsResponse.Builder addUnreachable(String value)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListCaPoolsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListCaPoolsResponse.Builder addUnreachableBytes(ByteString value)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListCaPoolsResponse.Builder

This builder for chaining.

build()

public ListCaPoolsResponse build()
Returns
Type Description
ListCaPoolsResponse

buildPartial()

public ListCaPoolsResponse buildPartial()
Returns
Type Description
ListCaPoolsResponse

clear()

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

clearCaPools()

public ListCaPoolsResponse.Builder clearCaPools()

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Returns
Type Description
ListCaPoolsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListCaPoolsResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.next_page_token][] to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ListCaPoolsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListCaPoolsResponse.Builder clearUnreachable()

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListCaPoolsResponse.Builder

This builder for chaining.

clone()

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

getCaPools(int index)

public CaPool getCaPools(int index)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
CaPool

getCaPoolsBuilder(int index)

public CaPool.Builder getCaPoolsBuilder(int index)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
CaPool.Builder

getCaPoolsBuilderList()

public List<CaPool.Builder> getCaPoolsBuilderList()

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Returns
Type Description
List<Builder>

getCaPoolsCount()

public int getCaPoolsCount()

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Returns
Type Description
int

getCaPoolsList()

public List<CaPool> getCaPoolsList()

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Returns
Type Description
List<CaPool>

getCaPoolsOrBuilder(int index)

public CaPoolOrBuilder getCaPoolsOrBuilder(int index)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
CaPoolOrBuilder

getCaPoolsOrBuilderList()

public List<? extends CaPoolOrBuilder> getCaPoolsOrBuilderList()

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Returns
Type Description
List<? extends com.google.cloud.security.privateca.v1.CaPoolOrBuilder>

getDefaultInstanceForType()

public ListCaPoolsResponse getDefaultInstanceForType()
Returns
Type Description
ListCaPoolsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.next_page_token][] 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 next page of results. Pass this value in [ListCertificateAuthoritiesRequest.next_page_token][] to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListCaPoolsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCaPools(int index)

public ListCaPoolsResponse.Builder removeCaPools(int index)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameter
Name Description
index int
Returns
Type Description
ListCaPoolsResponse.Builder

setCaPools(int index, CaPool value)

public ListCaPoolsResponse.Builder setCaPools(int index, CaPool value)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameters
Name Description
index int
value CaPool
Returns
Type Description
ListCaPoolsResponse.Builder

setCaPools(int index, CaPool.Builder builderForValue)

public ListCaPoolsResponse.Builder setCaPools(int index, CaPool.Builder builderForValue)

The list of CaPools.

repeated .google.cloud.security.privateca.v1.CaPool ca_pools = 1;

Parameters
Name Description
index int
builderForValue CaPool.Builder
Returns
Type Description
ListCaPoolsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListCaPoolsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.next_page_token][] to retrieve the next page of results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListCaPoolsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCaPoolsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.next_page_token][] 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
ListCaPoolsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListCaPoolsResponse.Builder setUnreachable(int index, String value)

A list of locations (e.g. "us-west1") that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListCaPoolsResponse.Builder

This builder for chaining.