Class Grant.Timeline.Event.Revoked.Builder (0.6.0)

public static final class Grant.Timeline.Event.Revoked.Builder extends GeneratedMessageV3.Builder<Grant.Timeline.Event.Revoked.Builder> implements Grant.Timeline.Event.RevokedOrBuilder

An event representing that the grant was revoked.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearActor()

public Grant.Timeline.Event.Revoked.Builder clearActor()

Output only. Username of the user who revoked the grant.

string actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReason()

public Grant.Timeline.Event.Revoked.Builder clearReason()

Output only. The reason provided by the user for revoking the grant.

string reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

This builder for chaining.

clone()

public Grant.Timeline.Event.Revoked.Builder clone()
Returns
Type Description
Grant.Timeline.Event.Revoked.Builder
Overrides

getActor()

public String getActor()

Output only. Username of the user who revoked the grant.

string actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The actor.

getActorBytes()

public ByteString getActorBytes()

Output only. Username of the user who revoked the grant.

string actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for actor.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getReason()

public String getReason()

Output only. The reason provided by the user for revoking the grant.

string reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The reason.

getReasonBytes()

public ByteString getReasonBytes()

Output only. The reason provided by the user for revoking the grant.

string reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for reason.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Grant.Timeline.Event.Revoked other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setActor(String value)

public Grant.Timeline.Event.Revoked.Builder setActor(String value)

Output only. Username of the user who revoked the grant.

string actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The actor to set.

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

This builder for chaining.

setActorBytes(ByteString value)

public Grant.Timeline.Event.Revoked.Builder setActorBytes(ByteString value)

Output only. Username of the user who revoked the grant.

string actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for actor to set.

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setReason(String value)

public Grant.Timeline.Event.Revoked.Builder setReason(String value)

Output only. The reason provided by the user for revoking the grant.

string reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The reason to set.

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

This builder for chaining.

setReasonBytes(ByteString value)

public Grant.Timeline.Event.Revoked.Builder setReasonBytes(ByteString value)

Output only. The reason provided by the user for revoking the grant.

string reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for reason to set.

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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