Class ListCertificateAuthoritiesResponse.Builder (2.35.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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.v1.CertificateAuthority certificate_authorities = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.security.privateca.v1.CertificateAuthority>

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.v1.CertificateAuthority certificate_authorities = 1;

Parameter
NameDescription
valueCertificateAuthority

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
NameDescription
builderForValueCertificateAuthority.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
NameDescription
indexint
valueCertificateAuthority

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
NameDescription
indexint
builderForValueCertificateAuthority.Builder

addCertificateAuthoritiesBuilder()

public CertificateAuthority.Builder addCertificateAuthoritiesBuilder()

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.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.v1.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
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()

buildPartial()

public ListCertificateAuthoritiesResponse buildPartial()

clear()

public ListCertificateAuthoritiesResponse.Builder clear()
Overrides

clearCertificateAuthorities()

public ListCertificateAuthoritiesResponse.Builder clearCertificateAuthorities()

The list of CertificateAuthorities.

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

clearField(Descriptors.FieldDescriptor field)

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

getCertificateAuthorities(int index)

public CertificateAuthority getCertificateAuthorities(int index)

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.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.v1.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.v1.CertificateAuthority certificate_authorities = 1;

Returns
TypeDescription
List<Builder>

getCertificateAuthoritiesCount()

public int getCertificateAuthoritiesCount()

The list of CertificateAuthorities.

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

Returns
TypeDescription
int

getCertificateAuthoritiesList()

public List<CertificateAuthority> getCertificateAuthoritiesList()

The list of CertificateAuthorities.

repeated .google.cloud.security.privateca.v1.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.v1.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.v1.CertificateAuthority certificate_authorities = 1;

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

getDefaultInstanceForType()

public ListCertificateAuthoritiesResponse getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
indexint
valueCertificateAuthority

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
NameDescription
indexint
builderForValueCertificateAuthority.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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