Class ListCertificatesResponse.Builder (0.31.0)

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

Response for the ListCertificates method.

Protobuf type google.cloud.certificatemanager.v1.ListCertificatesResponse

Static Methods

getDescriptor()

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

Methods

addAllCertificates(Iterable<? extends Certificate> values)

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

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.certificatemanager.v1.Certificate>
Returns
TypeDescription
ListCertificatesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListCertificatesResponse.Builder addAllUnreachable(Iterable<String> values)

A list of locations 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)

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

Parameter
NameDescription
valueCertificate
Returns
TypeDescription
ListCertificatesResponse.Builder

addCertificates(Certificate.Builder builderForValue)

public ListCertificatesResponse.Builder addCertificates(Certificate.Builder builderForValue)

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.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)

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.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)

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

Parameters
NameDescription
indexint
builderForValueCertificate.Builder
Returns
TypeDescription
ListCertificatesResponse.Builder

addCertificatesBuilder()

public Certificate.Builder addCertificatesBuilder()

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

Returns
TypeDescription
Certificate.Builder

addCertificatesBuilder(int index)

public Certificate.Builder addCertificatesBuilder(int index)

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.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 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 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()

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.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()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

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 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)

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Certificate

getCertificatesBuilder(int index)

public Certificate.Builder getCertificatesBuilder(int index)

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Certificate.Builder

getCertificatesBuilderList()

public List<Certificate.Builder> getCertificatesBuilderList()

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

Returns
TypeDescription
List<Builder>

getCertificatesCount()

public int getCertificatesCount()

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

Returns
TypeDescription
int

getCertificatesList()

public List<Certificate> getCertificatesList()

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

Returns
TypeDescription
List<Certificate>

getCertificatesOrBuilder(int index)

public CertificateOrBuilder getCertificatesOrBuilder(int index)

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateOrBuilder

getCertificatesOrBuilderList()

public List<? extends CertificateOrBuilder> getCertificatesOrBuilderList()

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

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

getDefaultInstanceForType()

public ListCertificatesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCertificatesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

A list of locations 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 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 that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

A list of locations 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)

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListCertificatesResponse.Builder

setCertificates(int index, Certificate value)

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

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.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)

A list of certificates for the parent resource.

repeated .google.cloud.certificatemanager.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)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

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)

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

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 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.