Interface CertificateMapEntryOrBuilder (0.44.0)

public interface CertificateMapEntryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Set of labels associated with a Certificate Map Entry.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCertificates(int index)

public abstract String getCertificates(int index)

A set of Certificates defines for the given hostname. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern projects/*/locations/*/certificates/*.

repeated string certificates = 7 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The certificates at the given index.

getCertificatesBytes(int index)

public abstract ByteString getCertificatesBytes(int index)

A set of Certificates defines for the given hostname. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern projects/*/locations/*/certificates/*.

repeated string certificates = 7 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the certificates at the given index.

getCertificatesCount()

public abstract int getCertificatesCount()

A set of Certificates defines for the given hostname. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern projects/*/locations/*/certificates/*.

repeated string certificates = 7 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of certificates.

getCertificatesList()

public abstract List<String> getCertificatesList()

A set of Certificates defines for the given hostname. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern projects/*/locations/*/certificates/*.

repeated string certificates = 7 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
List<String>

A list containing the certificates.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation timestamp of a Certificate Map Entry.

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

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp of a Certificate Map Entry.

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

Returns
TypeDescription
TimestampOrBuilder

getDescription()

public abstract String getDescription()

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

string description = 9;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

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

string description = 9;

Returns
TypeDescription
ByteString

The bytes for description.

getHostname()

public abstract String getHostname()

A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.

string hostname = 5;

Returns
TypeDescription
String

The hostname.

getHostnameBytes()

public abstract ByteString getHostnameBytes()

A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.

string hostname = 5;

Returns
TypeDescription
ByteString

The bytes for hostname.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Set of labels associated with a Certificate Map Entry.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Set of labels associated with a Certificate Map Entry.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Set of labels associated with a Certificate Map Entry.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Set of labels associated with a Certificate Map Entry.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMatchCase()

public abstract CertificateMapEntry.MatchCase getMatchCase()
Returns
TypeDescription
CertificateMapEntry.MatchCase

getMatcher()

public abstract CertificateMapEntry.Matcher getMatcher()

A predefined matcher for particular cases, other than SNI selection.

.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;

Returns
TypeDescription
CertificateMapEntry.Matcher

The matcher.

getMatcherValue()

public abstract int getMatcherValue()

A predefined matcher for particular cases, other than SNI selection.

.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;

Returns
TypeDescription
int

The enum numeric value on the wire for matcher.

getName()

public abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getState()

public abstract ServingState getState()

Output only. A serving state of this Certificate Map Entry.

.google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ServingState

The state.

getStateValue()

public abstract int getStateValue()

Output only. A serving state of this Certificate Map Entry.

.google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The update timestamp of a Certificate Map Entry.

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update timestamp of a Certificate Map Entry.

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

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation timestamp of a Certificate Map Entry.

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasHostname()

public abstract boolean hasHostname()

A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.

string hostname = 5;

Returns
TypeDescription
boolean

Whether the hostname field is set.

hasMatcher()

public abstract boolean hasMatcher()

A predefined matcher for particular cases, other than SNI selection.

.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;

Returns
TypeDescription
boolean

Whether the matcher field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The update timestamp of a Certificate Map Entry.

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.