Class TargetHttpsProxiesSetSslCertificatesRequest.Builder (1.53.0)

public static final class TargetHttpsProxiesSetSslCertificatesRequest.Builder extends GeneratedMessageV3.Builder<TargetHttpsProxiesSetSslCertificatesRequest.Builder> implements TargetHttpsProxiesSetSslCertificatesRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetHttpsProxiesSetSslCertificatesRequest

Static Methods

getDescriptor()

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

Methods

addAllSslCertificates(Iterable<String> values)

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

New set of SslCertificate resources to associate with this TargetHttpsProxy resource. 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
TargetHttpsProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSslCertificates(String value)

public TargetHttpsProxiesSetSslCertificatesRequest.Builder addSslCertificates(String value)

New set of SslCertificate resources to associate with this TargetHttpsProxy resource. 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
TargetHttpsProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

addSslCertificatesBytes(ByteString value)

public TargetHttpsProxiesSetSslCertificatesRequest.Builder addSslCertificatesBytes(ByteString value)

New set of SslCertificate resources to associate with this TargetHttpsProxy resource. 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
TargetHttpsProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

build()

public TargetHttpsProxiesSetSslCertificatesRequest build()
Returns
Type Description
TargetHttpsProxiesSetSslCertificatesRequest

buildPartial()

public TargetHttpsProxiesSetSslCertificatesRequest buildPartial()
Returns
Type Description
TargetHttpsProxiesSetSslCertificatesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSslCertificates()

public TargetHttpsProxiesSetSslCertificatesRequest.Builder clearSslCertificates()

New set of SslCertificate resources to associate with this TargetHttpsProxy resource. 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
TargetHttpsProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TargetHttpsProxiesSetSslCertificatesRequest getDefaultInstanceForType()
Returns
Type Description
TargetHttpsProxiesSetSslCertificatesRequest

getDescriptorForType()

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

getSslCertificates(int index)

public String getSslCertificates(int index)

New set of SslCertificate resources to associate with this TargetHttpsProxy resource. 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 SslCertificate resources to associate with this TargetHttpsProxy resource. 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 SslCertificate resources to associate with this TargetHttpsProxy resource. 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 SslCertificate resources to associate with this TargetHttpsProxy resource. 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TargetHttpsProxiesSetSslCertificatesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSslCertificates(int index, String value)

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

New set of SslCertificate resources to associate with this TargetHttpsProxy resource. 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
TargetHttpsProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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