Class CertificateMapEntry (0.55.0)

public final class CertificateMapEntry extends GeneratedMessageV3 implements CertificateMapEntryOrBuilder

Defines a certificate map entry.

Protobuf type google.cloud.certificatemanager.v1.CertificateMapEntry

Static Fields

CERTIFICATES_FIELD_NUMBER

public static final int CERTIFICATES_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

MATCHER_FIELD_NUMBER

public static final int MATCHER_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CertificateMapEntry getDefaultInstance()
Returns
Type Description
CertificateMapEntry

getDescriptor()

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

newBuilder()

public static CertificateMapEntry.Builder newBuilder()
Returns
Type Description
CertificateMapEntry.Builder

newBuilder(CertificateMapEntry prototype)

public static CertificateMapEntry.Builder newBuilder(CertificateMapEntry prototype)
Parameter
Name Description
prototype CertificateMapEntry
Returns
Type Description
CertificateMapEntry.Builder

parseDelimitedFrom(InputStream input)

public static CertificateMapEntry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateMapEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CertificateMapEntry parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CertificateMapEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CertificateMapEntry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateMapEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateMapEntry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateMapEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CertificateMapEntry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateMapEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CertificateMapEntry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateMapEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateMapEntry
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CertificateMapEntry> parser()
Returns
Type Description
Parser<CertificateMapEntry>

Methods

containsLabels(String key)

public boolean containsLabels(String key)

Set of labels associated with a Certificate Map Entry.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCertificates(int index)

public 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
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The certificates at the given index.

getCertificatesBytes(int index)

public 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
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the certificates at the given index.

getCertificatesCount()

public 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
Type Description
int

The count of certificates.

getCertificatesList()

public ProtocolStringList 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
Type Description
ProtocolStringList

A list containing the certificates.

getCreateTime()

public 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
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public 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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CertificateMapEntry getDefaultInstanceForType()
Returns
Type Description
CertificateMapEntry

getDescription()

public String getDescription()

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

string description = 9;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

string description = 9;

Returns
Type Description
ByteString

The bytes for description.

getHostname()

public 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
Type Description
String

The hostname.

getHostnameBytes()

public 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
Type Description
ByteString

The bytes for hostname.

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 Entry.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Set of labels associated with a Certificate Map Entry.

map<string, string> labels = 4;

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 Entry.

map<string, string> labels = 4;

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 Entry.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getMatchCase()

public CertificateMapEntry.MatchCase getMatchCase()
Returns
Type Description
CertificateMapEntry.MatchCase

getMatcher()

public CertificateMapEntry.Matcher getMatcher()

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

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

Returns
Type Description
CertificateMapEntry.Matcher

The matcher.

getMatcherValue()

public int getMatcherValue()

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

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

Returns
Type Description
int

The enum numeric value on the wire for matcher.

getName()

public 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
Type Description
String

The name.

getNameBytes()

public 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
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<CertificateMapEntry> getParserForType()
Returns
Type Description
Parser<CertificateMapEntry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public 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
Type Description
ServingState

The state.

getStateValue()

public 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
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public 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
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public 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
Type Description
TimestampOrBuilder

hasCreateTime()

public 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
Type Description
boolean

Whether the createTime field is set.

hasHostname()

public 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
Type Description
boolean

Whether the hostname field is set.

hasMatcher()

public boolean hasMatcher()

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

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

Returns
Type Description
boolean

Whether the matcher field is set.

hasUpdateTime()

public 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
Type Description
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CertificateMapEntry.Builder newBuilderForType()
Returns
Type Description
CertificateMapEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateMapEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CertificateMapEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CertificateMapEntry.Builder toBuilder()
Returns
Type Description
CertificateMapEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException