Class Grant.Timeline.Event.ActivationFailed.Builder (0.48.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public Grant.Timeline.Event.ActivationFailed build()
buildPartial()
public Grant.Timeline.Event.ActivationFailed buildPartial()
clear()
public Grant.Timeline.Event.ActivationFailed.Builder clear()
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];
getDefaultInstanceForType()
public Grant.Timeline.Event.ActivationFailed getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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()
Overrides
isInitialized()
public final boolean isInitialized()
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
|
mergeFrom(Grant.Timeline.Event.ActivationFailed other)
public Grant.Timeline.Event.ActivationFailed.Builder mergeFrom(Grant.Timeline.Event.ActivationFailed other)
public Grant.Timeline.Event.ActivationFailed.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Grant.Timeline.Event.ActivationFailed.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]