Class SslCertificateManagedSslCertificate.Builder (1.61.0)

public static final class SslCertificateManagedSslCertificate.Builder extends GeneratedMessageV3.Builder<SslCertificateManagedSslCertificate.Builder> implements SslCertificateManagedSslCertificateOrBuilder

Configuration and status of a managed SSL certificate.

Protobuf type google.cloud.compute.v1.SslCertificateManagedSslCertificate

Static Methods

getDescriptor()

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

Methods

addAllDomains(Iterable<String> values)

public SslCertificateManagedSslCertificate.Builder addAllDomains(Iterable<String> values)

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

repeated string domains = 226935855;

Parameter
Name Description
values Iterable<String>

The domains to add.

Returns
Type Description
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

addDomains(String value)

public SslCertificateManagedSslCertificate.Builder addDomains(String value)

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

repeated string domains = 226935855;

Parameter
Name Description
value String

The domains to add.

Returns
Type Description
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

addDomainsBytes(ByteString value)

public SslCertificateManagedSslCertificate.Builder addDomainsBytes(ByteString value)

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

repeated string domains = 226935855;

Parameter
Name Description
value ByteString

The bytes of the domains to add.

Returns
Type Description
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SslCertificateManagedSslCertificate build()
Returns
Type Description
SslCertificateManagedSslCertificate

buildPartial()

public SslCertificateManagedSslCertificate buildPartial()
Returns
Type Description
SslCertificateManagedSslCertificate

clear()

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

clearDomainStatus()

public SslCertificateManagedSslCertificate.Builder clearDomainStatus()
Returns
Type Description
SslCertificateManagedSslCertificate.Builder

clearDomains()

public SslCertificateManagedSslCertificate.Builder clearDomains()

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

repeated string domains = 226935855;

Returns
Type Description
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatus()

public SslCertificateManagedSslCertificate.Builder clearStatus()

[Output only] Status of the managed certificate resource. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

clone()

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

containsDomainStatus(String key)

public boolean containsDomainStatus(String key)

[Output only] Detailed statuses of the domains specified for managed certificate resource.

map<string, string> domain_status = 360305613;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public SslCertificateManagedSslCertificate getDefaultInstanceForType()
Returns
Type Description
SslCertificateManagedSslCertificate

getDescriptorForType()

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

getDomainStatus() (deprecated)

public Map<String,String> getDomainStatus()

Use #getDomainStatusMap() instead.

Returns
Type Description
Map<String,String>

getDomainStatusCount()

public int getDomainStatusCount()

[Output only] Detailed statuses of the domains specified for managed certificate resource.

map<string, string> domain_status = 360305613;

Returns
Type Description
int

getDomainStatusMap()

public Map<String,String> getDomainStatusMap()

[Output only] Detailed statuses of the domains specified for managed certificate resource.

map<string, string> domain_status = 360305613;

Returns
Type Description
Map<String,String>

getDomainStatusOrDefault(String key, String defaultValue)

public String getDomainStatusOrDefault(String key, String defaultValue)

[Output only] Detailed statuses of the domains specified for managed certificate resource.

map<string, string> domain_status = 360305613;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getDomainStatusOrThrow(String key)

public String getDomainStatusOrThrow(String key)

[Output only] Detailed statuses of the domains specified for managed certificate resource.

map<string, string> domain_status = 360305613;

Parameter
Name Description
key String
Returns
Type Description
String

getDomains(int index)

public String getDomains(int index)

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

repeated string domains = 226935855;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The domains at the given index.

getDomainsBytes(int index)

public ByteString getDomainsBytes(int index)

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

repeated string domains = 226935855;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the domains at the given index.

getDomainsCount()

public int getDomainsCount()

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

repeated string domains = 226935855;

Returns
Type Description
int

The count of domains.

getDomainsList()

public ProtocolStringList getDomainsList()

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

repeated string domains = 226935855;

Returns
Type Description
ProtocolStringList

A list containing the domains.

getMutableDomainStatus() (deprecated)

public Map<String,String> getMutableDomainStatus()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getStatus()

public String getStatus()

[Output only] Status of the managed certificate resource. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

[Output only] Status of the managed certificate resource. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
ByteString

The bytes for status.

hasStatus()

public boolean hasStatus()

[Output only] Status of the managed certificate resource. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SslCertificateManagedSslCertificate other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllDomainStatus(Map<String,String> values)

public SslCertificateManagedSslCertificate.Builder putAllDomainStatus(Map<String,String> values)

[Output only] Detailed statuses of the domains specified for managed certificate resource.

map<string, string> domain_status = 360305613;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
SslCertificateManagedSslCertificate.Builder

putDomainStatus(String key, String value)

public SslCertificateManagedSslCertificate.Builder putDomainStatus(String key, String value)

[Output only] Detailed statuses of the domains specified for managed certificate resource.

map<string, string> domain_status = 360305613;

Parameters
Name Description
key String
value String
Returns
Type Description
SslCertificateManagedSslCertificate.Builder

removeDomainStatus(String key)

public SslCertificateManagedSslCertificate.Builder removeDomainStatus(String key)

[Output only] Detailed statuses of the domains specified for managed certificate resource.

map<string, string> domain_status = 360305613;

Parameter
Name Description
key String
Returns
Type Description
SslCertificateManagedSslCertificate.Builder

setDomains(int index, String value)

public SslCertificateManagedSslCertificate.Builder setDomains(int index, String value)

The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.

repeated string domains = 226935855;

Parameters
Name Description
index int

The index to set the value at.

value String

The domains to set.

Returns
Type Description
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStatus(String value)

public SslCertificateManagedSslCertificate.Builder setStatus(String value)

[Output only] Status of the managed certificate resource. Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
Name Description
value String

The status to set.

Returns
Type Description
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public SslCertificateManagedSslCertificate.Builder setStatusBytes(ByteString value)

[Output only] Status of the managed certificate resource. Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
Name Description
value ByteString

The bytes for status to set.

Returns
Type Description
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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