Class CertificateMapEntry
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.certificatemanager.v1.CertificateMapEntry
- All Implemented Interfaces:
CertificateMapEntryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class CertificateMapEntry
extends com.google.protobuf.GeneratedMessage
implements CertificateMapEntryOrBuilder
Defines a certificate map entry.Protobuf type
google.cloud.certificatemanager.v1.CertificateMapEntry- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefines a certificate map entry.static enumstatic enumDefines predefined cases other than SNI-hostname match when this configuration should be applied.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Set of labels associated with a Certificate Map Entry.booleangetCertificates(int index) A set of Certificates defines for the given `hostname`.com.google.protobuf.ByteStringgetCertificatesBytes(int index) A set of Certificates defines for the given `hostname`.intA set of Certificates defines for the given `hostname`.com.google.protobuf.ProtocolStringListA set of Certificates defines for the given `hostname`.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static CertificateMapEntryOne or more paragraphs of text description of a certificate map entry.com.google.protobuf.ByteStringOne or more paragraphs of text description of a certificate map entry.static final com.google.protobuf.Descriptors.DescriptorA Hostname (FQDN, e.g.com.google.protobuf.ByteStringA Hostname (FQDN, e.g.Deprecated.intSet of labels associated with a Certificate Map Entry.Set of labels associated with a Certificate Map Entry.getLabelsOrDefault(String key, String defaultValue) Set of labels associated with a Certificate Map Entry.getLabelsOrThrow(String key) Set of labels associated with a Certificate Map Entry.A predefined matcher for particular cases, other than SNI selection.intA predefined matcher for particular cases, other than SNI selection.getName()A user-defined name of the Certificate Map Entry.com.google.protobuf.ByteStringA user-defined name of the Certificate Map Entry.com.google.protobuf.Parser<CertificateMapEntry>intgetState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.inthashCode()booleanA Hostname (FQDN, e.g.booleanA predefined matcher for particular cases, other than SNI selection.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic CertificateMapEntry.Builderstatic CertificateMapEntry.BuildernewBuilder(CertificateMapEntry prototype) protected CertificateMapEntry.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CertificateMapEntryparseDelimitedFrom(InputStream input) static CertificateMapEntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CertificateMapEntryparseFrom(byte[] data) static CertificateMapEntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CertificateMapEntryparseFrom(com.google.protobuf.ByteString data) static CertificateMapEntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CertificateMapEntryparseFrom(com.google.protobuf.CodedInputStream input) static CertificateMapEntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CertificateMapEntryparseFrom(InputStream input) static CertificateMapEntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CertificateMapEntryparseFrom(ByteBuffer data) static CertificateMapEntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CertificateMapEntry>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER- See Also:
-
MATCHER_FIELD_NUMBER
public static final int MATCHER_FIELD_NUMBER- See Also:
-
CERTIFICATES_FIELD_NUMBER
public static final int CERTIFICATES_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getMatchCase
- Specified by:
getMatchCasein interfaceCertificateMapEntryOrBuilder
-
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;- Specified by:
getNamein interfaceCertificateMapEntryOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;- Specified by:
getNameBytesin interfaceCertificateMapEntryOrBuilder- Returns:
- The bytes for name.
-
getDescription
One or more paragraphs of text description of a certificate map entry.
string description = 9;- Specified by:
getDescriptionin interfaceCertificateMapEntryOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()One or more paragraphs of text description of a certificate map entry.
string description = 9;- Specified by:
getDescriptionBytesin interfaceCertificateMapEntryOrBuilder- Returns:
- The bytes for description.
-
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];- Specified by:
hasCreateTimein interfaceCertificateMapEntryOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The creation timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceCertificateMapEntryOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceCertificateMapEntryOrBuilder
-
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];- Specified by:
hasUpdateTimein interfaceCertificateMapEntryOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The update timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceCertificateMapEntryOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The update timestamp of a Certificate Map Entry.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceCertificateMapEntryOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:CertificateMapEntryOrBuilderSet of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceCertificateMapEntryOrBuilder
-
containsLabels
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceCertificateMapEntryOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceCertificateMapEntryOrBuilder
-
getLabelsMap
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceCertificateMapEntryOrBuilder
-
getLabelsOrDefault
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceCertificateMapEntryOrBuilder
-
getLabelsOrThrow
Set of labels associated with a Certificate Map Entry.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceCertificateMapEntryOrBuilder
-
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;- Specified by:
hasHostnamein interfaceCertificateMapEntryOrBuilder- Returns:
- Whether the hostname field is set.
-
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;- Specified by:
getHostnamein interfaceCertificateMapEntryOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.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;- Specified by:
getHostnameBytesin interfaceCertificateMapEntryOrBuilder- Returns:
- The bytes for hostname.
-
hasMatcher
public boolean hasMatcher()A predefined matcher for particular cases, other than SNI selection.
.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;- Specified by:
hasMatcherin interfaceCertificateMapEntryOrBuilder- Returns:
- Whether the matcher field is set.
-
getMatcherValue
public int getMatcherValue()A predefined matcher for particular cases, other than SNI selection.
.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;- Specified by:
getMatcherValuein interfaceCertificateMapEntryOrBuilder- Returns:
- The enum numeric value on the wire for matcher.
-
getMatcher
A predefined matcher for particular cases, other than SNI selection.
.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10;- Specified by:
getMatcherin interfaceCertificateMapEntryOrBuilder- Returns:
- The matcher.
-
getCertificatesList
public com.google.protobuf.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) = { ... }- Specified by:
getCertificatesListin interfaceCertificateMapEntryOrBuilder- Returns:
- A list containing the certificates.
-
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) = { ... }- Specified by:
getCertificatesCountin interfaceCertificateMapEntryOrBuilder- Returns:
- The count of certificates.
-
getCertificates
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) = { ... }- Specified by:
getCertificatesin interfaceCertificateMapEntryOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The certificates at the given index.
-
getCertificatesBytes
public com.google.protobuf.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) = { ... }- Specified by:
getCertificatesBytesin interfaceCertificateMapEntryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the certificates at the given index.
-
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];- Specified by:
getStateValuein interfaceCertificateMapEntryOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. A serving state of this Certificate Map Entry.
.google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceCertificateMapEntryOrBuilder- Returns:
- The state.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CertificateMapEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CertificateMapEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CertificateMapEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CertificateMapEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CertificateMapEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CertificateMapEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CertificateMapEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CertificateMapEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CertificateMapEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CertificateMapEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CertificateMapEntry.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-