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
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
Field Value
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
MATCHER_FIELD_NUMBER
public static final int MATCHER_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CertificateMapEntry getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CertificateMapEntry.Builder newBuilder()
Returns
newBuilder(CertificateMapEntry prototype)
public static CertificateMapEntry.Builder newBuilder(CertificateMapEntry prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static CertificateMapEntry parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CertificateMapEntry parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CertificateMapEntry parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static CertificateMapEntry parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static CertificateMapEntry parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CertificateMapEntry parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CertificateMapEntry> parser()
Returns
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCertificates(int index)
public String getCertificates(int index)
A set of Certificates defines for the given hostname
. There can be
defined up to fifteen 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 fifteen 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 fifteen 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 fifteen certificates in each Certificate Map Entry. Each
certificate must match pattern projects/*/locations/*/certificates/*
.
repeated string certificates = 7 [(.google.api.resource_reference) = { ... }
Returns
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
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
getDefaultInstanceForType()
public CertificateMapEntry getDefaultInstanceForType()
Returns
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
getLabels()
public Map<String,String> getLabels()
Returns
getLabelsCount()
public int getLabelsCount()
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;
Returns
getLabelsMap()
public Map<String,String> getLabelsMap()
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;
Returns
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
Returns
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;
Parameter
Returns
getMatchCase()
public CertificateMapEntry.MatchCase getMatchCase()
Returns
getMatcher()
public CertificateMapEntry.Matcher getMatcher()
A predefined matcher for particular cases, other than SNI selection.
.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;
Returns
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()
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
getParserForType()
public Parser<CertificateMapEntry> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CertificateMapEntry.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateMapEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CertificateMapEntry.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions