Class CertificateMap.Builder (0.14.1)

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

Defines a collection of certificate configurations.

Protobuf type google.events.cloud.certificatemanager.v1.CertificateMap

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget>
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Parameter
NameDescription
valueCertificateMap.GclbTarget
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Parameter
NameDescription
builderForValueCertificateMap.GclbTarget.Builder
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Parameters
NameDescription
indexint
valueCertificateMap.GclbTarget
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Parameters
NameDescription
indexint
builderForValueCertificateMap.GclbTarget.Builder
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
CertificateMap.GclbTarget.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateMap build()
Returns
TypeDescription
CertificateMap

buildPartial()

public CertificateMap buildPartial()
Returns
TypeDescription
CertificateMap

clear()

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

clearCreateTime()

public CertificateMap.Builder clearCreateTime()

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
CertificateMap.Builder

clearDescription()

public CertificateMap.Builder clearDescription()

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

string description = 5;

Returns
TypeDescription
CertificateMap.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CertificateMap.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Returns
TypeDescription
CertificateMap.Builder

clearLabels()

public CertificateMap.Builder clearLabels()
Returns
TypeDescription
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
TypeDescription
CertificateMap.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateMap.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CertificateMap.Builder
Overrides

clearUpdateTime()

public CertificateMap.Builder clearUpdateTime()

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6;

Returns
TypeDescription
CertificateMap.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CertificateMap getDefaultInstanceForType()
Returns
TypeDescription
CertificateMap

getDescription()

public String getDescription()

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

string description = 5;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

string description = 5;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Returns
TypeDescription
List<? extends com.google.events.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder>

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Set of labels associated with a Certificate Map.

map<string, string> labels = 3;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Set of labels associated with a Certificate Map.

map<string, string> labels = 3;

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

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Set of labels associated with a Certificate Map.

map<string, string> labels = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

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

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update timestamp of a Certificate Map.

.google.protobuf.Timestamp update_time = 6;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2;

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

Returns
TypeDescription
boolean

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

mergeCreateTime(Timestamp value)

public CertificateMap.Builder mergeCreateTime(Timestamp value)

Output only. The creation timestamp of a Certificate Map.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CertificateMap.Builder

mergeFrom(CertificateMap other)

public CertificateMap.Builder mergeFrom(CertificateMap other)
Parameter
NameDescription
otherCertificateMap
Returns
TypeDescription
CertificateMap.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateMap.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

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

The description to set.

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

The bytes for description to set.

Returns
TypeDescription
CertificateMap.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateMap.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Parameters
NameDescription
indexint
valueCertificateMap.GclbTarget
Returns
TypeDescription
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.events.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4;

Parameters
NameDescription
indexint
builderForValueCertificateMap.GclbTarget.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CertificateMap.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateMap.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CertificateMap.Builder