Class ListCaPoolsResponse.Builder (2.85.0)

public static final class ListCaPoolsResponse.Builder extends GeneratedMessage.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

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

clearNextPageToken()

public ListCaPoolsResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass this value in ListCertificateAuthoritiesRequest.page_token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ListCaPoolsResponse.Builder

This builder for chaining.

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.

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.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.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 GeneratedMessage.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

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

setNextPageToken(String value)

public ListCaPoolsResponse.Builder setNextPageToken(String value)

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

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.