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

public static final class Grant.Timeline.Event.ActivationFailed.Builder extends GeneratedMessageV3.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Grant.Timeline.Event.ActivationFailed.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Grant.Timeline.Event.ActivationFailed.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Grant.Timeline.Event.ActivationFailed.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clone()

public Grant.Timeline.Event.ActivationFailed.Builder clone()
Overrides

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 GeneratedMessageV3.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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Grant.Timeline.Event.ActivationFailed.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public Grant.Timeline.Event.ActivationFailed.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

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

public Grant.Timeline.Event.ActivationFailed.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Grant.Timeline.Event.ActivationFailed.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides