Class CertificateMap.Builder (0.48.0)

public static final class CertificateMap.Builder extends GeneratedMessageV3.Builder<CertificateMap.Builder> implements CertificateMapOrBuilder

Defines a collection of certificate configurations.

Protobuf type google.cloud.certificatemanager.v1.CertificateMap

Static Methods

getDescriptor()

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

Methods

addAllGclbTargets(Iterable<? extends CertificateMap.GclbTarget> values)

public CertificateMap.Builder addAllGclbTargets(Iterable<? extends CertificateMap.GclbTarget> values)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget>
Returns
Type Description
CertificateMap.Builder

addGclbTargets(CertificateMap.GclbTarget value)

public CertificateMap.Builder addGclbTargets(CertificateMap.GclbTarget value)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CertificateMap.GclbTarget
Returns
Type Description
CertificateMap.Builder

addGclbTargets(CertificateMap.GclbTarget.Builder builderForValue)

public CertificateMap.Builder addGclbTargets(CertificateMap.GclbTarget.Builder builderForValue)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CertificateMap.GclbTarget.Builder
Returns
Type Description
CertificateMap.Builder

addGclbTargets(int index, CertificateMap.GclbTarget value)

public CertificateMap.Builder addGclbTargets(int index, CertificateMap.GclbTarget value)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value CertificateMap.GclbTarget
Returns
Type Description
CertificateMap.Builder

addGclbTargets(int index, CertificateMap.GclbTarget.Builder builderForValue)

public CertificateMap.Builder addGclbTargets(int index, CertificateMap.GclbTarget.Builder builderForValue)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue CertificateMap.GclbTarget.Builder
Returns
Type Description
CertificateMap.Builder

addGclbTargetsBuilder()

public CertificateMap.GclbTarget.Builder addGclbTargetsBuilder()

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateMap.GclbTarget.Builder

addGclbTargetsBuilder(int index)

public CertificateMap.GclbTarget.Builder addGclbTargetsBuilder(int index)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CertificateMap.GclbTarget.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateMap build()
Returns
Type Description
CertificateMap

buildPartial()

public CertificateMap buildPartial()
Returns
Type Description
CertificateMap

clear()

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

clearCreateTime()

public CertificateMap.Builder clearCreateTime()

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateMap.Builder

clearDescription()

public CertificateMap.Builder clearDescription()

One or more paragraphs of text description of a certificate map.

string description = 5;

Returns
Type Description
CertificateMap.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGclbTargets()

public CertificateMap.Builder clearGclbTargets()

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateMap.Builder

clearLabels()

public CertificateMap.Builder clearLabels()
Returns
Type Description
CertificateMap.Builder

clearName()

public CertificateMap.Builder clearName()

A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern projects/*/locations/*/certificateMaps/*.

string name = 1;

Returns
Type Description
CertificateMap.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateTime()

public CertificateMap.Builder clearUpdateTime()

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CertificateMap.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

Set of labels associated with a Certificate Map.

map<string, string> labels = 3;

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CertificateMap getDefaultInstanceForType()
Returns
Type Description
CertificateMap

getDescription()

public String getDescription()

One or more paragraphs of text description of a certificate map.

string description = 5;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

One or more paragraphs of text description of a certificate map.

string description = 5;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getGclbTargets(int index)

public CertificateMap.GclbTarget getGclbTargets(int index)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CertificateMap.GclbTarget

getGclbTargetsBuilder(int index)

public CertificateMap.GclbTarget.Builder getGclbTargetsBuilder(int index)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CertificateMap.GclbTarget.Builder

getGclbTargetsBuilderList()

public List<CertificateMap.GclbTarget.Builder> getGclbTargetsBuilderList()

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getGclbTargetsCount()

public int getGclbTargetsCount()

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getGclbTargetsList()

public List<CertificateMap.GclbTarget> getGclbTargetsList()

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<GclbTarget>

getGclbTargetsOrBuilder(int index)

public CertificateMap.GclbTargetOrBuilder getGclbTargetsOrBuilder(int index)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CertificateMap.GclbTargetOrBuilder

getGclbTargetsOrBuilderList()

public List<? extends CertificateMap.GclbTargetOrBuilder> getGclbTargetsOrBuilderList()

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder>

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Set of labels associated with a Certificate Map.

map<string, string> labels = 3;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Set of labels associated with a Certificate Map.

map<string, string> labels = 3;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Set of labels associated with a Certificate Map.

map<string, string> labels = 3;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Set of labels associated with a Certificate Map.

map<string, string> labels = 3;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern projects/*/locations/*/certificateMaps/*.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern projects/*/locations/*/certificateMaps/*.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime 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

mergeCreateTime(Timestamp value)

public CertificateMap.Builder mergeCreateTime(Timestamp value)

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CertificateMap.Builder

mergeFrom(CertificateMap other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public CertificateMap.Builder mergeUpdateTime(Timestamp value)

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CertificateMap.Builder

putAllLabels(Map<String,String> values)

public CertificateMap.Builder putAllLabels(Map<String,String> values)

Set of labels associated with a Certificate Map.

map<string, string> labels = 3;

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

putLabels(String key, String value)

public CertificateMap.Builder putLabels(String key, String value)

Set of labels associated with a Certificate Map.

map<string, string> labels = 3;

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

removeGclbTargets(int index)

public CertificateMap.Builder removeGclbTargets(int index)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CertificateMap.Builder

removeLabels(String key)

public CertificateMap.Builder removeLabels(String key)

Set of labels associated with a Certificate Map.

map<string, string> labels = 3;

Parameter
Name Description
key String
Returns
Type Description
CertificateMap.Builder

setCreateTime(Timestamp value)

public CertificateMap.Builder setCreateTime(Timestamp value)

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CertificateMap.Builder

setCreateTime(Timestamp.Builder builderForValue)

public CertificateMap.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CertificateMap.Builder

setDescription(String value)

public CertificateMap.Builder setDescription(String value)

One or more paragraphs of text description of a certificate map.

string description = 5;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
CertificateMap.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public CertificateMap.Builder setDescriptionBytes(ByteString value)

One or more paragraphs of text description of a certificate map.

string description = 5;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
CertificateMap.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGclbTargets(int index, CertificateMap.GclbTarget value)

public CertificateMap.Builder setGclbTargets(int index, CertificateMap.GclbTarget value)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value CertificateMap.GclbTarget
Returns
Type Description
CertificateMap.Builder

setGclbTargets(int index, CertificateMap.GclbTarget.Builder builderForValue)

public CertificateMap.Builder setGclbTargets(int index, CertificateMap.GclbTarget.Builder builderForValue)

Output only. A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.

repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue CertificateMap.GclbTarget.Builder
Returns
Type Description
CertificateMap.Builder

setName(String value)

public CertificateMap.Builder setName(String value)

A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern projects/*/locations/*/certificateMaps/*.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CertificateMap.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CertificateMap.Builder setNameBytes(ByteString value)

A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern projects/*/locations/*/certificateMaps/*.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CertificateMap.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public CertificateMap.Builder setUpdateTime(Timestamp value)

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
CertificateMap.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public CertificateMap.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CertificateMap.Builder