Class TargetSslProxiesSetSslCertificatesRequest.Builder (1.93.0)

public static final class TargetSslProxiesSetSslCertificatesRequest.Builder extends GeneratedMessage.Builder<TargetSslProxiesSetSslCertificatesRequest.Builder> implements TargetSslProxiesSetSslCertificatesRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetSslCertificatesRequest

Static Methods

getDescriptor()

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

Methods

addAllSslCertificates(Iterable<String> values)

public TargetSslProxiesSetSslCertificatesRequest.Builder addAllSslCertificates(Iterable<String> values)

New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.

repeated string ssl_certificates = 366006543;

Parameter
Name Description
values Iterable<String>

The sslCertificates to add.

Returns
Type Description
TargetSslProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

addSslCertificates(String value)

public TargetSslProxiesSetSslCertificatesRequest.Builder addSslCertificates(String value)

New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.

repeated string ssl_certificates = 366006543;

Parameter
Name Description
value String

The sslCertificates to add.

Returns
Type Description
TargetSslProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

addSslCertificatesBytes(ByteString value)

public TargetSslProxiesSetSslCertificatesRequest.Builder addSslCertificatesBytes(ByteString value)

New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.

repeated string ssl_certificates = 366006543;

Parameter
Name Description
value ByteString

The bytes of the sslCertificates to add.

Returns
Type Description
TargetSslProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

build()

public TargetSslProxiesSetSslCertificatesRequest build()
Returns
Type Description
TargetSslProxiesSetSslCertificatesRequest

buildPartial()

public TargetSslProxiesSetSslCertificatesRequest buildPartial()
Returns
Type Description
TargetSslProxiesSetSslCertificatesRequest

clear()

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

clearSslCertificates()

public TargetSslProxiesSetSslCertificatesRequest.Builder clearSslCertificates()

New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.

repeated string ssl_certificates = 366006543;

Returns
Type Description
TargetSslProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public TargetSslProxiesSetSslCertificatesRequest getDefaultInstanceForType()
Returns
Type Description
TargetSslProxiesSetSslCertificatesRequest

getDescriptorForType()

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

getSslCertificates(int index)

public String getSslCertificates(int index)

New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.

repeated string ssl_certificates = 366006543;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sslCertificates at the given index.

getSslCertificatesBytes(int index)

public ByteString getSslCertificatesBytes(int index)

New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.

repeated string ssl_certificates = 366006543;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sslCertificates at the given index.

getSslCertificatesCount()

public int getSslCertificatesCount()

New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.

repeated string ssl_certificates = 366006543;

Returns
Type Description
int

The count of sslCertificates.

getSslCertificatesList()

public ProtocolStringList getSslCertificatesList()

New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.

repeated string ssl_certificates = 366006543;

Returns
Type Description
ProtocolStringList

A list containing the sslCertificates.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TargetSslProxiesSetSslCertificatesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setSslCertificates(int index, String value)

public TargetSslProxiesSetSslCertificatesRequest.Builder setSslCertificates(int index, String value)

New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.

repeated string ssl_certificates = 366006543;

Parameters
Name Description
index int

The index to set the value at.

value String

The sslCertificates to set.

Returns
Type Description
TargetSslProxiesSetSslCertificatesRequest.Builder

This builder for chaining.