Class Grant.Timeline.Event.Revoked (0.3.0)

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

An event representing that the grant was revoked.

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

Static Fields

ACTOR_FIELD_NUMBER

public static final int ACTOR_FIELD_NUMBER
Field Value
Type Description
int

REASON_FIELD_NUMBER

public static final int REASON_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Grant.Timeline.Event.Revoked getDefaultInstance()
Returns
Type Description
Grant.Timeline.Event.Revoked

getDescriptor()

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

newBuilder()

public static Grant.Timeline.Event.Revoked.Builder newBuilder()
Returns
Type Description
Grant.Timeline.Event.Revoked.Builder

newBuilder(Grant.Timeline.Event.Revoked prototype)

public static Grant.Timeline.Event.Revoked.Builder newBuilder(Grant.Timeline.Event.Revoked prototype)
Parameter
Name Description
prototype Grant.Timeline.Event.Revoked
Returns
Type Description
Grant.Timeline.Event.Revoked.Builder

parseDelimitedFrom(InputStream input)

public static Grant.Timeline.Event.Revoked parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Grant.Timeline.Event.Revoked
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline.Event.Revoked parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event.Revoked
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Grant.Timeline.Event.Revoked parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Grant.Timeline.Event.Revoked
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline.Event.Revoked parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event.Revoked
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Grant.Timeline.Event.Revoked parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Grant.Timeline.Event.Revoked
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline.Event.Revoked parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event.Revoked
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Grant.Timeline.Event.Revoked parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Grant.Timeline.Event.Revoked
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Grant.Timeline.Event.Revoked parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Grant.Timeline.Event.Revoked
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline.Event.Revoked parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event.Revoked
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Grant.Timeline.Event.Revoked parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Grant.Timeline.Event.Revoked
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Grant.Timeline.Event.Revoked parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event.Revoked
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Grant.Timeline.Event.Revoked> parser()
Returns
Type Description
Parser<Revoked>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<Grant.Timeline.Event.Revoked> getParserForType()
Returns
Type Description
Parser<Revoked>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Grant.Timeline.Event.Revoked.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Grant.Timeline.Event.Revoked.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException