Class ListCertificatesResponse.Builder

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

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

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueCertificate
Returns
TypeDescription
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
NameDescription
builderForValueCertificate.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCertificate
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCertificate.Builder
Returns
TypeDescription
ListCertificatesResponse.Builder

addCertificatesBuilder()

public Certificate.Builder addCertificatesBuilder()

The list of Certificates.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListCertificatesResponse.Builder

This builder for chaining.

build()

public ListCertificatesResponse build()
Returns
TypeDescription
ListCertificatesResponse

buildPartial()

public ListCertificatesResponse buildPartial()
Returns
TypeDescription
ListCertificatesResponse

clear()

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

clearCertificates()

public ListCertificatesResponse.Builder clearCertificates()

The list of Certificates.

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

Returns
TypeDescription
ListCertificatesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getCertificatesBuilder(int index)

public Certificate.Builder getCertificatesBuilder(int index)

The list of Certificates.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Certificate.Builder

getCertificatesBuilderList()

public List<Certificate.Builder> getCertificatesBuilderList()

The list of Certificates.

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

Returns
TypeDescription
List<Builder>

getCertificatesCount()

public int getCertificatesCount()

The list of Certificates.

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

Returns
TypeDescription
int

getCertificatesList()

public List<Certificate> getCertificatesList()

The list of Certificates.

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

Returns
TypeDescription
List<Certificate>

getCertificatesOrBuilder(int index)

public CertificateOrBuilder getCertificatesOrBuilder(int index)

The list of Certificates.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateOrBuilder

getCertificatesOrBuilderList()

public List<? extends CertificateOrBuilder> getCertificatesOrBuilderList()

The list of Certificates.

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

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

getDefaultInstanceForType()

public ListCertificatesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCertificatesResponse

getDescriptor()

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

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

public ListCertificatesResponse.Builder mergeFrom(ListCertificatesResponse other)
Parameter
NameDescription
otherListCertificatesResponse
Returns
TypeDescription
ListCertificatesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCertificatesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueCertificate
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCertificate.Builder
Returns
TypeDescription
ListCertificatesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListCertificatesResponse.Builder

This builder for chaining.