Class Grant.Timeline.Event.ActivationFailed.Builder (0.39.0)

public static final class Grant.Timeline.Event.ActivationFailed.Builder extends GeneratedMessage.Builder<Grant.Timeline.Event.ActivationFailed.Builder> implements Grant.Timeline.Event.ActivationFailedOrBuilder

An event representing that the grant activation failed.

Protobuf type google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.ActivationFailed

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Grant.Timeline.Event.ActivationFailed build()
Returns
Type Description
Grant.Timeline.Event.ActivationFailed

buildPartial()

public Grant.Timeline.Event.ActivationFailed buildPartial()
Returns
Type Description
Grant.Timeline.Event.ActivationFailed

clear()

public Grant.Timeline.Event.ActivationFailed.Builder clear()
Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder
Overrides

clearError()

public Grant.Timeline.Event.ActivationFailed.Builder clearError()

Output only. The error that occurred while activating the grant.

.google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder

getDefaultInstanceForType()

public Grant.Timeline.Event.ActivationFailed getDefaultInstanceForType()
Returns
Type Description
Grant.Timeline.Event.ActivationFailed

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getError()

public Status getError()

Output only. The error that occurred while activating the grant.

.google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

Output only. The error that occurred while activating the grant.

.google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. The error that occurred while activating the grant.

.google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasError()

public boolean hasError()

Output only. The error that occurred while activating the grant.

.google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeError(Status value)

public Grant.Timeline.Event.ActivationFailed.Builder mergeError(Status value)

Output only. The error that occurred while activating the grant.

.google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder

mergeFrom(Grant.Timeline.Event.ActivationFailed other)

public Grant.Timeline.Event.ActivationFailed.Builder mergeFrom(Grant.Timeline.Event.ActivationFailed other)
Parameter
Name Description
other Grant.Timeline.Event.ActivationFailed
Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Grant.Timeline.Event.ActivationFailed.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Grant.Timeline.Event.ActivationFailed.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder
Overrides

setError(Status value)

public Grant.Timeline.Event.ActivationFailed.Builder setError(Status value)

Output only. The error that occurred while activating the grant.

.google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder

setError(Status.Builder builderForValue)

public Grant.Timeline.Event.ActivationFailed.Builder setError(Status.Builder builderForValue)

Output only. The error that occurred while activating the grant.

.google.rpc.Status error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder