public static final class Grant.Timeline.Event.Denied.Builder extends GeneratedMessage.Builder<Grant.Timeline.Event.Denied.Builder> implements Grant.Timeline.Event.DeniedOrBuilderAn event representing that the grant was denied.
Protobuf type google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Denied
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Grant.Timeline.Event.Denied.BuilderImplements
Grant.Timeline.Event.DeniedOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for actor to set. |
| Returns | |
|---|---|
| Type | Description |
Grant.Timeline.Event.Denied.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for reason to set. |
| Returns | |
|---|---|
| Type | Description |
Grant.Timeline.Event.Denied.Builder |
This builder for chaining. |