Class InstancesListServerCertificatesResponse.Builder (0.1.0)

public static final class InstancesListServerCertificatesResponse.Builder extends GeneratedMessage.Builder<InstancesListServerCertificatesResponse.Builder> implements InstancesListServerCertificatesResponseOrBuilder

Instances ListServerCertificatess response.

Protobuf type google.cloud.sql.v1beta4.InstancesListServerCertificatesResponse

Static Methods

getDescriptor()

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

Methods

addAllCaCerts(Iterable<? extends SslCert> values)

public InstancesListServerCertificatesResponse.Builder addAllCaCerts(Iterable<? extends SslCert> values)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.sql.v1beta4.SslCert>
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

addAllServerCerts(Iterable<? extends SslCert> values)

public InstancesListServerCertificatesResponse.Builder addAllServerCerts(Iterable<? extends SslCert> values)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.sql.v1beta4.SslCert>
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

addCaCerts(SslCert value)

public InstancesListServerCertificatesResponse.Builder addCaCerts(SslCert value)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameter
Name Description
value SslCert
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

addCaCerts(SslCert.Builder builderForValue)

public InstancesListServerCertificatesResponse.Builder addCaCerts(SslCert.Builder builderForValue)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameter
Name Description
builderForValue SslCert.Builder
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

addCaCerts(int index, SslCert value)

public InstancesListServerCertificatesResponse.Builder addCaCerts(int index, SslCert value)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameters
Name Description
index int
value SslCert
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

addCaCerts(int index, SslCert.Builder builderForValue)

public InstancesListServerCertificatesResponse.Builder addCaCerts(int index, SslCert.Builder builderForValue)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameters
Name Description
index int
builderForValue SslCert.Builder
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

addCaCertsBuilder()

public SslCert.Builder addCaCertsBuilder()

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Returns
Type Description
SslCert.Builder

addCaCertsBuilder(int index)

public SslCert.Builder addCaCertsBuilder(int index)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
SslCert.Builder

addServerCerts(SslCert value)

public InstancesListServerCertificatesResponse.Builder addServerCerts(SslCert value)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameter
Name Description
value SslCert
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

addServerCerts(SslCert.Builder builderForValue)

public InstancesListServerCertificatesResponse.Builder addServerCerts(SslCert.Builder builderForValue)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameter
Name Description
builderForValue SslCert.Builder
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

addServerCerts(int index, SslCert value)

public InstancesListServerCertificatesResponse.Builder addServerCerts(int index, SslCert value)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameters
Name Description
index int
value SslCert
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

addServerCerts(int index, SslCert.Builder builderForValue)

public InstancesListServerCertificatesResponse.Builder addServerCerts(int index, SslCert.Builder builderForValue)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameters
Name Description
index int
builderForValue SslCert.Builder
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

addServerCertsBuilder()

public SslCert.Builder addServerCertsBuilder()

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Returns
Type Description
SslCert.Builder

addServerCertsBuilder(int index)

public SslCert.Builder addServerCertsBuilder(int index)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameter
Name Description
index int
Returns
Type Description
SslCert.Builder

build()

public InstancesListServerCertificatesResponse build()
Returns
Type Description
InstancesListServerCertificatesResponse

buildPartial()

public InstancesListServerCertificatesResponse buildPartial()
Returns
Type Description
InstancesListServerCertificatesResponse

clear()

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

clearActiveVersion()

public InstancesListServerCertificatesResponse.Builder clearActiveVersion()

The sha1_fingerprint of the active certificate from server_certs.

string active_version = 3;

Returns
Type Description
InstancesListServerCertificatesResponse.Builder

This builder for chaining.

clearCaCerts()

public InstancesListServerCertificatesResponse.Builder clearCaCerts()

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Returns
Type Description
InstancesListServerCertificatesResponse.Builder

clearKind()

public InstancesListServerCertificatesResponse.Builder clearKind()

This is always sql#instancesListServerCertificates.

string kind = 4;

Returns
Type Description
InstancesListServerCertificatesResponse.Builder

This builder for chaining.

clearServerCerts()

public InstancesListServerCertificatesResponse.Builder clearServerCerts()

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Returns
Type Description
InstancesListServerCertificatesResponse.Builder

getActiveVersion()

public String getActiveVersion()

The sha1_fingerprint of the active certificate from server_certs.

string active_version = 3;

Returns
Type Description
String

The activeVersion.

getActiveVersionBytes()

public ByteString getActiveVersionBytes()

The sha1_fingerprint of the active certificate from server_certs.

string active_version = 3;

Returns
Type Description
ByteString

The bytes for activeVersion.

getCaCerts(int index)

public SslCert getCaCerts(int index)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
SslCert

getCaCertsBuilder(int index)

public SslCert.Builder getCaCertsBuilder(int index)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
SslCert.Builder

getCaCertsBuilderList()

public List<SslCert.Builder> getCaCertsBuilderList()

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Returns
Type Description
List<Builder>

getCaCertsCount()

public int getCaCertsCount()

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Returns
Type Description
int

getCaCertsList()

public List<SslCert> getCaCertsList()

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Returns
Type Description
List<SslCert>

getCaCertsOrBuilder(int index)

public SslCertOrBuilder getCaCertsOrBuilder(int index)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
SslCertOrBuilder

getCaCertsOrBuilderList()

public List<? extends SslCertOrBuilder> getCaCertsOrBuilderList()

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Returns
Type Description
List<? extends com.google.cloud.sql.v1beta4.SslCertOrBuilder>

getDefaultInstanceForType()

public InstancesListServerCertificatesResponse getDefaultInstanceForType()
Returns
Type Description
InstancesListServerCertificatesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKind()

public String getKind()

This is always sql#instancesListServerCertificates.

string kind = 4;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

This is always sql#instancesListServerCertificates.

string kind = 4;

Returns
Type Description
ByteString

The bytes for kind.

getServerCerts(int index)

public SslCert getServerCerts(int index)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameter
Name Description
index int
Returns
Type Description
SslCert

getServerCertsBuilder(int index)

public SslCert.Builder getServerCertsBuilder(int index)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameter
Name Description
index int
Returns
Type Description
SslCert.Builder

getServerCertsBuilderList()

public List<SslCert.Builder> getServerCertsBuilderList()

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Returns
Type Description
List<Builder>

getServerCertsCount()

public int getServerCertsCount()

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Returns
Type Description
int

getServerCertsList()

public List<SslCert> getServerCertsList()

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Returns
Type Description
List<SslCert>

getServerCertsOrBuilder(int index)

public SslCertOrBuilder getServerCertsOrBuilder(int index)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameter
Name Description
index int
Returns
Type Description
SslCertOrBuilder

getServerCertsOrBuilderList()

public List<? extends SslCertOrBuilder> getServerCertsOrBuilderList()

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Returns
Type Description
List<? extends com.google.cloud.sql.v1beta4.SslCertOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstancesListServerCertificatesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeCaCerts(int index)

public InstancesListServerCertificatesResponse.Builder removeCaCerts(int index)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

removeServerCerts(int index)

public InstancesListServerCertificatesResponse.Builder removeServerCerts(int index)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameter
Name Description
index int
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

setActiveVersion(String value)

public InstancesListServerCertificatesResponse.Builder setActiveVersion(String value)

The sha1_fingerprint of the active certificate from server_certs.

string active_version = 3;

Parameter
Name Description
value String

The activeVersion to set.

Returns
Type Description
InstancesListServerCertificatesResponse.Builder

This builder for chaining.

setActiveVersionBytes(ByteString value)

public InstancesListServerCertificatesResponse.Builder setActiveVersionBytes(ByteString value)

The sha1_fingerprint of the active certificate from server_certs.

string active_version = 3;

Parameter
Name Description
value ByteString

The bytes for activeVersion to set.

Returns
Type Description
InstancesListServerCertificatesResponse.Builder

This builder for chaining.

setCaCerts(int index, SslCert value)

public InstancesListServerCertificatesResponse.Builder setCaCerts(int index, SslCert value)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameters
Name Description
index int
value SslCert
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

setCaCerts(int index, SslCert.Builder builderForValue)

public InstancesListServerCertificatesResponse.Builder setCaCerts(int index, SslCert.Builder builderForValue)

List of server CA certificates for the instance.

repeated .google.cloud.sql.v1beta4.SslCert ca_certs = 1;

Parameters
Name Description
index int
builderForValue SslCert.Builder
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

setKind(String value)

public InstancesListServerCertificatesResponse.Builder setKind(String value)

This is always sql#instancesListServerCertificates.

string kind = 4;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
InstancesListServerCertificatesResponse.Builder

This builder for chaining.

setKindBytes(ByteString value)

public InstancesListServerCertificatesResponse.Builder setKindBytes(ByteString value)

This is always sql#instancesListServerCertificates.

string kind = 4;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
InstancesListServerCertificatesResponse.Builder

This builder for chaining.

setServerCerts(int index, SslCert value)

public InstancesListServerCertificatesResponse.Builder setServerCerts(int index, SslCert value)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameters
Name Description
index int
value SslCert
Returns
Type Description
InstancesListServerCertificatesResponse.Builder

setServerCerts(int index, SslCert.Builder builderForValue)

public InstancesListServerCertificatesResponse.Builder setServerCerts(int index, SslCert.Builder builderForValue)

List of server certificates for the instance, signed by the corresponding CA from the ca_certs list.

repeated .google.cloud.sql.v1beta4.SslCert server_certs = 2;

Parameters
Name Description
index int
builderForValue SslCert.Builder
Returns
Type Description
InstancesListServerCertificatesResponse.Builder