Class ListCertificatesResponse.Builder (2.48.0)

public static final class ListCertificatesResponse.Builder extends GeneratedMessageV3.Builder<ListCertificatesResponse.Builder> implements ListCertificatesResponseOrBuilder

Response message for CertificateAuthorityService.ListCertificates.

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

Static Methods

getDescriptor()

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

Methods

addAllCertificates(Iterable<? extends Certificate> values)

public ListCertificatesResponse.Builder addAllCertificates(Iterable<? extends Certificate> values)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addCertificates(Certificate value)

public ListCertificatesResponse.Builder addCertificates(Certificate value)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Parameter
Name Description
value Certificate
Returns
Type Description
ListCertificatesResponse.Builder

addCertificates(Certificate.Builder builderForValue)

public ListCertificatesResponse.Builder addCertificates(Certificate.Builder builderForValue)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Parameter
Name Description
builderForValue Certificate.Builder
Returns
Type Description
ListCertificatesResponse.Builder

addCertificates(int index, Certificate value)

public ListCertificatesResponse.Builder addCertificates(int index, Certificate value)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Parameters
Name Description
index int
value Certificate
Returns
Type Description
ListCertificatesResponse.Builder

addCertificates(int index, Certificate.Builder builderForValue)

public ListCertificatesResponse.Builder addCertificates(int index, Certificate.Builder builderForValue)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Parameters
Name Description
index int
builderForValue Certificate.Builder
Returns
Type Description
ListCertificatesResponse.Builder

addCertificatesBuilder()

public Certificate.Builder addCertificatesBuilder()

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Returns
Type Description
Certificate.Builder

addCertificatesBuilder(int index)

public Certificate.Builder addCertificatesBuilder(int index)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Parameter
Name Description
index int
Returns
Type Description
Certificate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListCertificatesResponse build()
Returns
Type Description
ListCertificatesResponse

buildPartial()

public ListCertificatesResponse buildPartial()
Returns
Type Description
ListCertificatesResponse

clear()

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

clearCertificates()

public ListCertificatesResponse.Builder clearCertificates()

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Returns
Type Description
ListCertificatesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListCertificatesResponse.Builder clearNextPageToken()

A token to retrieve next page of results. Pass this value in [ListCertificatesRequest.next_page_token][] to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ListCertificatesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListCertificatesResponse.Builder clearUnreachable()

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

repeated string unreachable = 3;

Returns
Type Description
ListCertificatesResponse.Builder

This builder for chaining.

clone()

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

getCertificates(int index)

public Certificate getCertificates(int index)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Parameter
Name Description
index int
Returns
Type Description
Certificate

getCertificatesBuilder(int index)

public Certificate.Builder getCertificatesBuilder(int index)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Parameter
Name Description
index int
Returns
Type Description
Certificate.Builder

getCertificatesBuilderList()

public List<Certificate.Builder> getCertificatesBuilderList()

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Returns
Type Description
List<Builder>

getCertificatesCount()

public int getCertificatesCount()

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Returns
Type Description
int

getCertificatesList()

public List<Certificate> getCertificatesList()

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Returns
Type Description
List<Certificate>

getCertificatesOrBuilder(int index)

public CertificateOrBuilder getCertificatesOrBuilder(int index)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Parameter
Name Description
index int
Returns
Type Description
CertificateOrBuilder

getCertificatesOrBuilderList()

public List<? extends CertificateOrBuilder> getCertificatesOrBuilderList()

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

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

getDefaultInstanceForType()

public ListCertificatesResponse getDefaultInstanceForType()
Returns
Type Description
ListCertificatesResponse

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 [ListCertificatesRequest.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 [ListCertificatesRequest.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(ListCertificatesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCertificates(int index)

public ListCertificatesResponse.Builder removeCertificates(int index)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Parameter
Name Description
index int
Returns
Type Description
ListCertificatesResponse.Builder

setCertificates(int index, Certificate value)

public ListCertificatesResponse.Builder setCertificates(int index, Certificate value)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Parameters
Name Description
index int
value Certificate
Returns
Type Description
ListCertificatesResponse.Builder

setCertificates(int index, Certificate.Builder builderForValue)

public ListCertificatesResponse.Builder setCertificates(int index, Certificate.Builder builderForValue)

The list of Certificates.

repeated .google.cloud.security.privateca.v1.Certificate certificates = 1;

Parameters
Name Description
index int
builderForValue Certificate.Builder
Returns
Type Description
ListCertificatesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListCertificatesResponse.Builder setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCertificatesResponse.Builder setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.