Class TargetHttpsProxiesSetSslCertificatesRequest.Builder (1.46.0)

See more code actions.
public static final class TargetHttpsProxiesSetSslCertificatesRequest.Builder extends GeneratedMessageV3.Builder<TargetHttpsProxiesSetSslCertificatesRequest.Builder> implements TargetHttpsProxiesSetSslCertificatesRequestOrBuilder

Protobuf type google.cloud.compute.v1.TargetHttpsProxiesSetSslCertificatesRequest

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

The sslCertificates to add.

Returns
TypeDescription
TargetHttpsProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetHttpsProxiesSetSslCertificatesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
valueString

The sslCertificates to add.

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

The bytes of the sslCertificates to add.

Returns
TypeDescription
TargetHttpsProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

build()

public TargetHttpsProxiesSetSslCertificatesRequest build()

buildPartial()

public TargetHttpsProxiesSetSslCertificatesRequest buildPartial()

clear()

public TargetHttpsProxiesSetSslCertificatesRequest.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public TargetHttpsProxiesSetSslCertificatesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public TargetHttpsProxiesSetSslCertificatesRequest.Builder clone()
Overrides

getDefaultInstanceForType()

public TargetHttpsProxiesSetSslCertificatesRequest getDefaultInstanceForType()

getDescriptorForType()

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

public TargetHttpsProxiesSetSslCertificatesRequest.Builder mergeFrom(TargetHttpsProxiesSetSslCertificatesRequest other)
Parameter
NameDescription
otherTargetHttpsProxiesSetSslCertificatesRequest

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TargetHttpsProxiesSetSslCertificatesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetHttpsProxiesSetSslCertificatesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

The index to set the value at.

valueString

The sslCertificates to set.

Returns
TypeDescription
TargetHttpsProxiesSetSslCertificatesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TargetHttpsProxiesSetSslCertificatesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides