Class Grant.Timeline.Event.ActivationFailed.Builder (0.9.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

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
Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder
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()
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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Grant.Timeline.Event.ActivationFailed.Builder clone()
Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder
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
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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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
Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder
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
Returns
Type Description
Grant.Timeline.Event.ActivationFailed.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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