Class Grant.Timeline.Event.Denied.Builder (0.2.0)

public static final class Grant.Timeline.Event.Denied.Builder extends GeneratedMessageV3.Builder<Grant.Timeline.Event.Denied.Builder> implements Grant.Timeline.Event.DeniedOrBuilder

An event representing that the grant was denied.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearActor()

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

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

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

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReason()

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

Output only. The reason provided by the approver for denying the grant.

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

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

This builder for chaining.

clone()

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

getActor()

public String getActor()

Output only. Username of the user who denied 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 denied the grant.

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

Returns
Type Description
ByteString

The bytes for actor.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getReason()

public String getReason()

Output only. The reason provided by the approver for denying 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 approver for denying 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.Denied other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setActor(String value)

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

Output only. Username of the user who denied 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.Denied.Builder

This builder for chaining.

setActorBytes(ByteString value)

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

Output only. Username of the user who denied 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.Denied.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setReason(String value)

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

Output only. The reason provided by the approver for denying 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.Denied.Builder

This builder for chaining.

setReasonBytes(ByteString value)

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

Output only. The reason provided by the approver for denying 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.Denied.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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