Class Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder (0.5.0)

public static final class Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder extends GeneratedMessageV3.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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Overrides

build()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo build()
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo

buildPartial()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo buildPartial()
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo

clear()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder clear()
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Overrides

clearDetails()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder clearDetails()

Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.

string details = 4;

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

clearDomain()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder clearDomain()

Domain name of the authorization attempt.

string domain = 1;

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

clearFailureReason()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder 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
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Overrides

clearState()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder clearState()

State of the domain for managed certificate issuance.

.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2;

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

clone()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder clone()
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Overrides

getDefaultInstanceForType()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo getDefaultInstanceForType()
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetails()

public String getDetails()

Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.

string details = 4;

Returns
TypeDescription
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.

string details = 4;

Returns
TypeDescription
ByteString

The bytes for details.

getDomain()

public String getDomain()

Domain name of the authorization attempt.

string domain = 1;

Returns
TypeDescription
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Domain name of the authorization attempt.

string domain = 1;

Returns
TypeDescription
ByteString

The bytes for domain.

getFailureReason()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason 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];

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason

The failureReason.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for failureReason.

getState()

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.State getState()

State of the domain for managed certificate issuance.

.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2;

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.State

The state.

getStateValue()

public int getStateValue()

State of the domain for managed certificate issuance.

.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Certificate.ManagedCertificate.AuthorizationAttemptInfo other)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder mergeFrom(Certificate.ManagedCertificate.AuthorizationAttemptInfo other)
Parameter
NameDescription
otherCertificate.ManagedCertificate.AuthorizationAttemptInfo
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Overrides

setDetails(String value)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setDetails(String value)

Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.

string details = 4;

Parameter
NameDescription
valueString

The details to set.

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

setDetailsBytes(ByteString value)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setDetailsBytes(ByteString value)

Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.

string details = 4;

Parameter
NameDescription
valueByteString

The bytes for details to set.

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

setDomain(String value)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setDomain(String value)

Domain name of the authorization attempt.

string domain = 1;

Parameter
NameDescription
valueString

The domain to set.

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

setDomainBytes(ByteString value)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setDomainBytes(ByteString value)

Domain name of the authorization attempt.

string domain = 1;

Parameter
NameDescription
valueByteString

The bytes for domain to set.

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

setFailureReason(Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason value)

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];

Parameter
NameDescription
valueCertificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason

The failureReason to set.

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

setFailureReasonValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for failureReason to set.

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Overrides

setState(Certificate.ManagedCertificate.AuthorizationAttemptInfo.State value)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setState(Certificate.ManagedCertificate.AuthorizationAttemptInfo.State value)

State of the domain for managed certificate issuance.

.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2;

Parameter
NameDescription
valueCertificate.ManagedCertificate.AuthorizationAttemptInfo.State

The state to set.

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

setStateValue(int value)

public Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setStateValue(int value)

State of the domain for managed certificate issuance.

.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder
Overrides