public final class CertificateMapEntry extends GeneratedMessageV3 implements CertificateMapEntryOrBuilder
Defines a certificate map entry.
Protobuf type google.cloud.certificatemanager.v1.CertificateMapEntry
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CertificateMapEntry.Builder newBuilder()
newBuilder(CertificateMapEntry prototype)
public static CertificateMapEntry.Builder newBuilder(CertificateMapEntry prototype)
parseDelimitedFrom(InputStream input)
public static CertificateMapEntry parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CertificateMapEntry parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CertificateMapEntry parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static CertificateMapEntry parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static CertificateMapEntry parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CertificateMapEntry parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateMapEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CertificateMapEntry> parser()
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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) = { ... }
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];
getDefaultInstanceForType()
public CertificateMapEntry getDefaultInstanceForType()
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()
public Map<String,String> getLabels()
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;
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;
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
|
getMatchCase()
public CertificateMapEntry.MatchCase getMatchCase()
getMatcher()
public CertificateMapEntry.Matcher getMatcher()
A predefined matcher for particular cases, other than SNI selection.
.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<CertificateMapEntry> getParserForType()
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];
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()
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 |
---|
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];
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CertificateMapEntry.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateMapEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CertificateMapEntry.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides