Class ListCertificateAuthoritiesResponse.Builder (2.51.0)

public static final class ListCertificateAuthoritiesResponse.Builder extends GeneratedMessageV3.Builder<ListCertificateAuthoritiesResponse.Builder> implements ListCertificateAuthoritiesResponseOrBuilder

Response message for CertificateAuthorityService.ListCertificateAuthorities.

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

Static Methods

getDescriptor()

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

Methods

addAllCertificateAuthorities(Iterable<? extends CertificateAuthority> values)

public ListCertificateAuthoritiesResponse.Builder addAllCertificateAuthorities(Iterable<? extends CertificateAuthority> values)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

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

addAllUnreachable(Iterable<String> values)

public ListCertificateAuthoritiesResponse.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
ListCertificateAuthoritiesResponse.Builder

This builder for chaining.

addCertificateAuthorities(CertificateAuthority value)

public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(CertificateAuthority value)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Parameter
Name Description
value CertificateAuthority
Returns
Type Description
ListCertificateAuthoritiesResponse.Builder

addCertificateAuthorities(CertificateAuthority.Builder builderForValue)

public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(CertificateAuthority.Builder builderForValue)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Parameter
Name Description
builderForValue CertificateAuthority.Builder
Returns
Type Description
ListCertificateAuthoritiesResponse.Builder

addCertificateAuthorities(int index, CertificateAuthority value)

public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(int index, CertificateAuthority value)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Parameters
Name Description
index int
value CertificateAuthority
Returns
Type Description
ListCertificateAuthoritiesResponse.Builder

addCertificateAuthorities(int index, CertificateAuthority.Builder builderForValue)

public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(int index, CertificateAuthority.Builder builderForValue)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Parameters
Name Description
index int
builderForValue CertificateAuthority.Builder
Returns
Type Description
ListCertificateAuthoritiesResponse.Builder

addCertificateAuthoritiesBuilder()

public CertificateAuthority.Builder addCertificateAuthoritiesBuilder()

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Returns
Type Description
CertificateAuthority.Builder

addCertificateAuthoritiesBuilder(int index)

public CertificateAuthority.Builder addCertificateAuthoritiesBuilder(int index)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Parameter
Name Description
index int
Returns
Type Description
CertificateAuthority.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListCertificateAuthoritiesResponse.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
ListCertificateAuthoritiesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListCertificateAuthoritiesResponse.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
ListCertificateAuthoritiesResponse.Builder

This builder for chaining.

build()

public ListCertificateAuthoritiesResponse build()
Returns
Type Description
ListCertificateAuthoritiesResponse

buildPartial()

public ListCertificateAuthoritiesResponse buildPartial()
Returns
Type Description
ListCertificateAuthoritiesResponse

clear()

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

clearCertificateAuthorities()

public ListCertificateAuthoritiesResponse.Builder clearCertificateAuthorities()

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Returns
Type Description
ListCertificateAuthoritiesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListCertificateAuthoritiesResponse.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
ListCertificateAuthoritiesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListCertificateAuthoritiesResponse.Builder clearUnreachable()

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

repeated string unreachable = 3;

Returns
Type Description
ListCertificateAuthoritiesResponse.Builder

This builder for chaining.

clone()

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

getCertificateAuthorities(int index)

public CertificateAuthority getCertificateAuthorities(int index)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Parameter
Name Description
index int
Returns
Type Description
CertificateAuthority

getCertificateAuthoritiesBuilder(int index)

public CertificateAuthority.Builder getCertificateAuthoritiesBuilder(int index)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Parameter
Name Description
index int
Returns
Type Description
CertificateAuthority.Builder

getCertificateAuthoritiesBuilderList()

public List<CertificateAuthority.Builder> getCertificateAuthoritiesBuilderList()

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Returns
Type Description
List<Builder>

getCertificateAuthoritiesCount()

public int getCertificateAuthoritiesCount()

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Returns
Type Description
int

getCertificateAuthoritiesList()

public List<CertificateAuthority> getCertificateAuthoritiesList()

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Returns
Type Description
List<CertificateAuthority>

getCertificateAuthoritiesOrBuilder(int index)

public CertificateAuthorityOrBuilder getCertificateAuthoritiesOrBuilder(int index)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Parameter
Name Description
index int
Returns
Type Description
CertificateAuthorityOrBuilder

getCertificateAuthoritiesOrBuilderList()

public List<? extends CertificateAuthorityOrBuilder> getCertificateAuthoritiesOrBuilderList()

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

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

getDefaultInstanceForType()

public ListCertificateAuthoritiesResponse getDefaultInstanceForType()
Returns
Type Description
ListCertificateAuthoritiesResponse

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(ListCertificateAuthoritiesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCertificateAuthorities(int index)

public ListCertificateAuthoritiesResponse.Builder removeCertificateAuthorities(int index)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Parameter
Name Description
index int
Returns
Type Description
ListCertificateAuthoritiesResponse.Builder

setCertificateAuthorities(int index, CertificateAuthority value)

public ListCertificateAuthoritiesResponse.Builder setCertificateAuthorities(int index, CertificateAuthority value)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Parameters
Name Description
index int
value CertificateAuthority
Returns
Type Description
ListCertificateAuthoritiesResponse.Builder

setCertificateAuthorities(int index, CertificateAuthority.Builder builderForValue)

public ListCertificateAuthoritiesResponse.Builder setCertificateAuthorities(int index, CertificateAuthority.Builder builderForValue)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.CertificateAuthority certificate_authorities = 1;

Parameters
Name Description
index int
builderForValue CertificateAuthority.Builder
Returns
Type Description
ListCertificateAuthoritiesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListCertificateAuthoritiesResponse.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
ListCertificateAuthoritiesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCertificateAuthoritiesResponse.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
ListCertificateAuthoritiesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListCertificateAuthoritiesResponse.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
ListCertificateAuthoritiesResponse.Builder

This builder for chaining.