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