Class ListCertificateAuthoritiesResponse.Builder (2.38.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.v1beta1.ListCertificateAuthoritiesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllCertificateAuthorities(Iterable<? extends CertificateAuthority> values)

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

The list of CertificateAuthorities.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.security.privateca.v1beta1.CertificateAuthority>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder

This builder for chaining.

addCertificateAuthorities(CertificateAuthority value)

public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(CertificateAuthority value)

The list of CertificateAuthorities.

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

Parameter
NameDescription
valueCertificateAuthority
Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder

addCertificateAuthorities(CertificateAuthority.Builder builderForValue)

public ListCertificateAuthoritiesResponse.Builder addCertificateAuthorities(CertificateAuthority.Builder builderForValue)

The list of CertificateAuthorities.

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

Parameter
NameDescription
builderForValueCertificateAuthority.Builder
Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder

addCertificateAuthorities(int index, CertificateAuthority value)

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

The list of CertificateAuthorities.

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

Parameters
NameDescription
indexint
valueCertificateAuthority
Returns
TypeDescription
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.v1beta1.CertificateAuthority certificate_authorities = 1;

Parameters
NameDescription
indexint
builderForValueCertificateAuthority.Builder
Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder

addCertificateAuthoritiesBuilder()

public CertificateAuthority.Builder addCertificateAuthoritiesBuilder()

The list of CertificateAuthorities.

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

Returns
TypeDescription
CertificateAuthority.Builder

addCertificateAuthoritiesBuilder(int index)

public CertificateAuthority.Builder addCertificateAuthoritiesBuilder(int index)

The list of CertificateAuthorities.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateAuthority.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder

This builder for chaining.

build()

public ListCertificateAuthoritiesResponse build()
Returns
TypeDescription
ListCertificateAuthoritiesResponse

buildPartial()

public ListCertificateAuthoritiesResponse buildPartial()
Returns
TypeDescription
ListCertificateAuthoritiesResponse

clear()

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

clearCertificateAuthorities()

public ListCertificateAuthoritiesResponse.Builder clearCertificateAuthorities()

The list of CertificateAuthorities.

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

Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public ListCertificateAuthoritiesResponse.Builder clone()
Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder
Overrides

getCertificateAuthorities(int index)

public CertificateAuthority getCertificateAuthorities(int index)

The list of CertificateAuthorities.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateAuthority

getCertificateAuthoritiesBuilder(int index)

public CertificateAuthority.Builder getCertificateAuthoritiesBuilder(int index)

The list of CertificateAuthorities.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateAuthority.Builder

getCertificateAuthoritiesBuilderList()

public List<CertificateAuthority.Builder> getCertificateAuthoritiesBuilderList()

The list of CertificateAuthorities.

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

Returns
TypeDescription
List<Builder>

getCertificateAuthoritiesCount()

public int getCertificateAuthoritiesCount()

The list of CertificateAuthorities.

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

Returns
TypeDescription
int

getCertificateAuthoritiesList()

public List<CertificateAuthority> getCertificateAuthoritiesList()

The list of CertificateAuthorities.

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

Returns
TypeDescription
List<CertificateAuthority>

getCertificateAuthoritiesOrBuilder(int index)

public CertificateAuthorityOrBuilder getCertificateAuthoritiesOrBuilder(int index)

The list of CertificateAuthorities.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateAuthorityOrBuilder

getCertificateAuthoritiesOrBuilderList()

public List<? extends CertificateAuthorityOrBuilder> getCertificateAuthoritiesOrBuilderList()

The list of CertificateAuthorities.

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

Returns
TypeDescription
List<? extends com.google.cloud.security.privateca.v1beta1.CertificateAuthorityOrBuilder>

getDefaultInstanceForType()

public ListCertificateAuthoritiesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCertificateAuthoritiesResponse

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

public ListCertificateAuthoritiesResponse.Builder mergeFrom(ListCertificateAuthoritiesResponse other)
Parameter
NameDescription
otherListCertificateAuthoritiesResponse
Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCertificateAuthoritiesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder
Overrides

removeCertificateAuthorities(int index)

public ListCertificateAuthoritiesResponse.Builder removeCertificateAuthorities(int index)

The list of CertificateAuthorities.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder

setCertificateAuthorities(int index, CertificateAuthority value)

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

The list of CertificateAuthorities.

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

Parameters
NameDescription
indexint
valueCertificateAuthority
Returns
TypeDescription
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.v1beta1.CertificateAuthority certificate_authorities = 1;

Parameters
NameDescription
indexint
builderForValueCertificateAuthority.Builder
Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListCertificateAuthoritiesResponse.Builder

This builder for chaining.