Class SslCertificateManagedSslCertificate.Builder (1.12.1)

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
TypeDescription
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
NameDescription
valuesIterable<String>

The domains to add.

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

The domains to add.

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

The bytes of the domains to add.

Returns
TypeDescription
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SslCertificateManagedSslCertificate build()
Returns
TypeDescription
SslCertificateManagedSslCertificate

buildPartial()

public SslCertificateManagedSslCertificate buildPartial()
Returns
TypeDescription
SslCertificateManagedSslCertificate

clear()

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

clearDomainStatus()

public SslCertificateManagedSslCertificate.Builder clearDomainStatus()
Returns
TypeDescription
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
TypeDescription
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public SslCertificateManagedSslCertificate.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public SslCertificateManagedSslCertificate getDefaultInstanceForType()
Returns
TypeDescription
SslCertificateManagedSslCertificate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDomainStatus()

public Map<String,String> getDomainStatus()

Use #getDomainStatusMap() instead.

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the domains.

getMutableDomainStatus()

public Map<String,String> getMutableDomainStatus()

Use alternate mutation accessors instead.

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

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SslCertificateManagedSslCertificate other)

public SslCertificateManagedSslCertificate.Builder mergeFrom(SslCertificateManagedSslCertificate other)
Parameter
NameDescription
otherSslCertificateManagedSslCertificate
Returns
TypeDescription
SslCertificateManagedSslCertificate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SslCertificateManagedSslCertificate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The domains to set.

Returns
TypeDescription
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

The status to set.

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

The bytes for status to set.

Returns
TypeDescription
SslCertificateManagedSslCertificate.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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