Class ListCaPoolsResponse.Builder (2.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.security.privateca.v1.CaPool>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueCaPool
Returns
TypeDescription
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
NameDescription
builderForValueCaPool.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCaPool
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCaPool.Builder
Returns
TypeDescription
ListCaPoolsResponse.Builder

addCaPoolsBuilder()

public CaPool.Builder addCaPoolsBuilder()

The list of CaPools.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListCaPoolsResponse.Builder

This builder for chaining.

build()

public ListCaPoolsResponse build()
Returns
TypeDescription
ListCaPoolsResponse

buildPartial()

public ListCaPoolsResponse buildPartial()
Returns
TypeDescription
ListCaPoolsResponse

clear()

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

clearCaPools()

public ListCaPoolsResponse.Builder clearCaPools()

The list of CaPools.

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

Returns
TypeDescription
ListCaPoolsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListCaPoolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListCaPoolsResponse.Builder

This builder for chaining.

clone()

public ListCaPoolsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CaPool.Builder

getCaPoolsBuilderList()

public List<CaPool.Builder> getCaPoolsBuilderList()

The list of CaPools.

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

Returns
TypeDescription
List<Builder>

getCaPoolsCount()

public int getCaPoolsCount()

The list of CaPools.

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

Returns
TypeDescription
int

getCaPoolsList()

public List<CaPool> getCaPoolsList()

The list of CaPools.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CaPoolOrBuilder

getCaPoolsOrBuilderList()

public List<? extends CaPoolOrBuilder> getCaPoolsOrBuilderList()

The list of CaPools.

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

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

getDefaultInstanceForType()

public ListCaPoolsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCaPoolsResponse

getDescriptorForType()

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListCaPoolsResponse other)

public ListCaPoolsResponse.Builder mergeFrom(ListCaPoolsResponse other)
Parameter
NameDescription
otherListCaPoolsResponse
Returns
TypeDescription
ListCaPoolsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCaPoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueCaPool
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCaPool.Builder
Returns
TypeDescription
ListCaPoolsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListCaPoolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListCaPoolsResponse.Builder

This builder for chaining.