Class TargetSslProxiesSetSslCertificatesRequest.Builder (1.12.1)

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

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetSslCertificatesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The sslCertificates to add.

Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetSslProxiesSetSslCertificatesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest.Builder
Overrides

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
NameDescription
valueString

The sslCertificates to add.

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

The bytes of the sslCertificates to add.

Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

build()

public TargetSslProxiesSetSslCertificatesRequest build()
Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest

buildPartial()

public TargetSslProxiesSetSslCertificatesRequest buildPartial()
Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public TargetSslProxiesSetSslCertificatesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public TargetSslProxiesSetSslCertificatesRequest.Builder clone()
Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest.Builder
Overrides

getDefaultInstanceForType()

public TargetSslProxiesSetSslCertificatesRequest getDefaultInstanceForType()
Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the sslCertificates.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TargetSslProxiesSetSslCertificatesRequest other)

public TargetSslProxiesSetSslCertificatesRequest.Builder mergeFrom(TargetSslProxiesSetSslCertificatesRequest other)
Parameter
NameDescription
otherTargetSslProxiesSetSslCertificatesRequest
Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetSslProxiesSetSslCertificatesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TargetSslProxiesSetSslCertificatesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest.Builder
Overrides

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

public TargetSslProxiesSetSslCertificatesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The sslCertificates to set.

Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TargetSslProxiesSetSslCertificatesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetSslProxiesSetSslCertificatesRequest.Builder
Overrides