Class DnsAuthorization
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.certificatemanager.v1.DnsAuthorization
-
- All Implemented Interfaces:
DnsAuthorizationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DnsAuthorization extends com.google.protobuf.GeneratedMessageV3 implements DnsAuthorizationOrBuilder
A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.
Protobuf typegoogle.cloud.certificatemanager.v1.DnsAuthorization- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDnsAuthorization.BuilderA DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.static classDnsAuthorization.DnsResourceRecordThe structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate.static interfaceDnsAuthorization.DnsResourceRecordOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDNS_RESOURCE_RECORD_FIELD_NUMBERstatic intDOMAIN_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Set of labels associated with a DnsAuthorization.booleanequals(Object obj)com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static DnsAuthorizationgetDefaultInstance()DnsAuthorizationgetDefaultInstanceForType()StringgetDescription()One or more paragraphs of text description of a DnsAuthorization.com.google.protobuf.ByteStringgetDescriptionBytes()One or more paragraphs of text description of a DnsAuthorization.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DnsAuthorization.DnsResourceRecordgetDnsResourceRecord()Output only.DnsAuthorization.DnsResourceRecordOrBuildergetDnsResourceRecordOrBuilder()Output only.StringgetDomain()Required.com.google.protobuf.ByteStringgetDomainBytes()Required.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Set of labels associated with a DnsAuthorization.Map<String,String>getLabelsMap()Set of labels associated with a DnsAuthorization.StringgetLabelsOrDefault(String key, String defaultValue)Set of labels associated with a DnsAuthorization.StringgetLabelsOrThrow(String key)Set of labels associated with a DnsAuthorization.StringgetName()A user-defined name of the dns authorization.com.google.protobuf.ByteStringgetNameBytes()A user-defined name of the dns authorization.com.google.protobuf.Parser<DnsAuthorization>getParserForType()intgetSerializedSize()com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasDnsResourceRecord()Output only.inthashCode()booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static DnsAuthorization.BuildernewBuilder()static DnsAuthorization.BuildernewBuilder(DnsAuthorization prototype)DnsAuthorization.BuildernewBuilderForType()protected DnsAuthorization.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DnsAuthorizationparseDelimitedFrom(InputStream input)static DnsAuthorizationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsAuthorizationparseFrom(byte[] data)static DnsAuthorizationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsAuthorizationparseFrom(com.google.protobuf.ByteString data)static DnsAuthorizationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsAuthorizationparseFrom(com.google.protobuf.CodedInputStream input)static DnsAuthorizationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsAuthorizationparseFrom(InputStream input)static DnsAuthorizationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DnsAuthorizationparseFrom(ByteBuffer data)static DnsAuthorizationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DnsAuthorization>parser()DnsAuthorization.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DNS_RESOURCE_RECORD_FIELD_NUMBER
public static final int DNS_RESOURCE_RECORD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.
string name = 1;- Specified by:
getNamein interfaceDnsAuthorizationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.
string name = 1;- Specified by:
getNameBytesin interfaceDnsAuthorizationOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The creation timestamp of a DnsAuthorization.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDnsAuthorizationOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The creation timestamp of a DnsAuthorization.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDnsAuthorizationOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of a DnsAuthorization.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDnsAuthorizationOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last update timestamp of a DnsAuthorization.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDnsAuthorizationOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of a DnsAuthorization.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDnsAuthorizationOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of a DnsAuthorization.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDnsAuthorizationOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:DnsAuthorizationOrBuilderSet of labels associated with a DnsAuthorization.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceDnsAuthorizationOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Set of labels associated with a DnsAuthorization.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceDnsAuthorizationOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDnsAuthorizationOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Set of labels associated with a DnsAuthorization.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceDnsAuthorizationOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Set of labels associated with a DnsAuthorization.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceDnsAuthorizationOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Set of labels associated with a DnsAuthorization.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceDnsAuthorizationOrBuilder
-
getDescription
public String getDescription()
One or more paragraphs of text description of a DnsAuthorization.
string description = 5;- Specified by:
getDescriptionin interfaceDnsAuthorizationOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
One or more paragraphs of text description of a DnsAuthorization.
string description = 5;- Specified by:
getDescriptionBytesin interfaceDnsAuthorizationOrBuilder- Returns:
- The bytes for description.
-
getDomain
public String getDomain()
Required. Immutable. A domain that is being authorized. A DnsAuthorization resource covers a single domain and its wildcard, e.g. authorization for `example.com` can be used to issue certificates for `example.com` and `*.example.com`.
string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getDomainin interfaceDnsAuthorizationOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()
Required. Immutable. A domain that is being authorized. A DnsAuthorization resource covers a single domain and its wildcard, e.g. authorization for `example.com` can be used to issue certificates for `example.com` and `*.example.com`.
string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getDomainBytesin interfaceDnsAuthorizationOrBuilder- Returns:
- The bytes for domain.
-
hasDnsResourceRecord
public boolean hasDnsResourceRecord()
Output only. DNS Resource Record that needs to be added to DNS configuration.
.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDnsResourceRecordin interfaceDnsAuthorizationOrBuilder- Returns:
- Whether the dnsResourceRecord field is set.
-
getDnsResourceRecord
public DnsAuthorization.DnsResourceRecord getDnsResourceRecord()
Output only. DNS Resource Record that needs to be added to DNS configuration.
.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDnsResourceRecordin interfaceDnsAuthorizationOrBuilder- Returns:
- The dnsResourceRecord.
-
getDnsResourceRecordOrBuilder
public DnsAuthorization.DnsResourceRecordOrBuilder getDnsResourceRecordOrBuilder()
Output only. DNS Resource Record that needs to be added to DNS configuration.
.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDnsResourceRecordOrBuilderin interfaceDnsAuthorizationOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 DnsAuthorization parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsAuthorization parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsAuthorization parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsAuthorization parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsAuthorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsAuthorization parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DnsAuthorization parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DnsAuthorization parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DnsAuthorization parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DnsAuthorization parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DnsAuthorization parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DnsAuthorization parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DnsAuthorization.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DnsAuthorization.Builder newBuilder()
-
newBuilder
public static DnsAuthorization.Builder newBuilder(DnsAuthorization prototype)
-
toBuilder
public DnsAuthorization.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DnsAuthorization.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DnsAuthorization getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DnsAuthorization> parser()
-
getParserForType
public com.google.protobuf.Parser<DnsAuthorization> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DnsAuthorization getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-