Class Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder>
com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
- All Implemented Interfaces:
Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Certificate.ManagedCertificate.AuthorizationAttemptInfo
public static final class Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder>
implements Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder
State of the latest attempt to authorize a domain for certificate issuance.Protobuf type
google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Domain name of the authorization attempt.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Domain name of the authorization attempt.com.google.protobuf.ByteStringDomain name of the authorization attempt.Output only.intOutput only.getState()Output only.intOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDetails(String value) Output only.setDetailsBytes(com.google.protobuf.ByteString value) Output only.Domain name of the authorization attempt.setDomainBytes(com.google.protobuf.ByteString value) Domain name of the authorization attempt.Output only.setFailureReasonValue(int value) Output only.Output only.setStateValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder>
-
mergeFrom
public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder>- Throws:
IOException
-
getDomain
Domain name of the authorization attempt.
string domain = 1;- Specified by:
getDomainin interfaceCertificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()Domain name of the authorization attempt.
string domain = 1;- Specified by:
getDomainBytesin interfaceCertificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder- Returns:
- The bytes for domain.
-
setDomain
Domain name of the authorization attempt.
string domain = 1;- Parameters:
value- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
Domain name of the authorization attempt.
string domain = 1;- Returns:
- This builder for chaining.
-
setDomainBytes
public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setDomainBytes(com.google.protobuf.ByteString value) Domain name of the authorization attempt.
string domain = 1;- Parameters:
value- The bytes for domain to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. State of the domain for managed certificate issuance.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceCertificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the domain for managed certificate issuance.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the domain for managed certificate issuance.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceCertificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder- Returns:
- The state.
-
setState
public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setState(Certificate.ManagedCertificate.AuthorizationAttemptInfo.State value) Output only. State of the domain for managed certificate issuance.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the domain for managed certificate issuance.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getFailureReasonValue
public int getFailureReasonValue()Output only. Reason for failure of the authorization attempt for the domain.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureReasonValuein interfaceCertificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder- Returns:
- The enum numeric value on the wire for failureReason.
-
setFailureReasonValue
public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setFailureReasonValue(int value) Output only. Reason for failure of the authorization attempt for the domain.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for failureReason to set.- Returns:
- This builder for chaining.
-
getFailureReason
Output only. Reason for failure of the authorization attempt for the domain.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureReasonin interfaceCertificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder- Returns:
- The failureReason.
-
setFailureReason
public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setFailureReason(Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason value) Output only. Reason for failure of the authorization attempt for the domain.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The failureReason to set.- Returns:
- This builder for chaining.
-
clearFailureReason
Output only. Reason for failure of the authorization attempt for the domain.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getDetails
Output only. Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.
string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDetailsin interfaceCertificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder- Returns:
- The details.
-
getDetailsBytes
public com.google.protobuf.ByteString getDetailsBytes()Output only. Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.
string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDetailsBytesin interfaceCertificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder- Returns:
- The bytes for details.
-
setDetails
Output only. Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.
string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The details to set.- Returns:
- This builder for chaining.
-
clearDetails
Output only. Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.
string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDetailsBytes
public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setDetailsBytes(com.google.protobuf.ByteString value) Output only. Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.
string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for details to set.- Returns:
- This builder for chaining.
-