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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Grant.Timeline.Event.Revoked.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Grant.Timeline.Event.Revoked build()
buildPartial()
public Grant.Timeline.Event.Revoked buildPartial()
clear()
public Grant.Timeline.Event.Revoked.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public Grant.Timeline.Event.Revoked.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Grant.Timeline.Event.Revoked.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public Grant.Timeline.Event.Revoked.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Grant.Timeline.Event.Revoked other)
public Grant.Timeline.Event.Revoked.Builder mergeFrom(Grant.Timeline.Event.Revoked other)
public Grant.Timeline.Event.Revoked.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Grant.Timeline.Event.Revoked.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Grant.Timeline.Event.Revoked.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Grant.Timeline.Event.Revoked.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Grant.Timeline.Event.Revoked.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Grant.Timeline.Event.Revoked.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides