Class Grant.Timeline.Event.Denied (0.3.0)

public static final class Grant.Timeline.Event.Denied extends GeneratedMessageV3 implements Grant.Timeline.Event.DeniedOrBuilder

An event representing that the grant was denied.

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

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

getDescriptor()

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

newBuilder()

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

newBuilder(Grant.Timeline.Event.Denied prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 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

getParserForType()

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

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.

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.Denied.Builder newBuilderForType()
Returns
Type Description
Grant.Timeline.Event.Denied.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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