Class Grant.Timeline.Event.Approved (0.6.0)

public static final class Grant.Timeline.Event.Approved extends GeneratedMessageV3 implements Grant.Timeline.Event.ApprovedOrBuilder

An event representing that the grant was approved.

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

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.Approved getDefaultInstance()
Returns
Type Description
Grant.Timeline.Event.Approved

getDescriptor()

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

newBuilder()

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

newBuilder(Grant.Timeline.Event.Approved prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 approved 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 approved the grant.

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

Returns
Type Description
ByteString

The bytes for actor.

getDefaultInstanceForType()

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

getParserForType()

public Parser<Grant.Timeline.Event.Approved> getParserForType()
Returns
Type Description
Parser<Approved>
Overrides

getReason()

public String getReason()

Output only. The reason provided by the approver for approving 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 approving 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.Approved.Builder newBuilderForType()
Returns
Type Description
Grant.Timeline.Event.Approved.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Grant.Timeline.Event.Approved.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Grant.Timeline.Event.Approved.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.Approved.Builder toBuilder()
Returns
Type Description
Grant.Timeline.Event.Approved.Builder

writeTo(CodedOutputStream output)

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