Class DismissDecision (2.55.0)

public final class DismissDecision extends GeneratedMessageV3 implements DismissDecisionOrBuilder

A decision that has been made to dismiss an approval request.

Protobuf type google.cloud.accessapproval.v1.DismissDecision

Static Fields

DISMISS_TIME_FIELD_NUMBER

public static final int DISMISS_TIME_FIELD_NUMBER
Field Value
Type Description
int

IMPLICIT_FIELD_NUMBER

public static final int IMPLICIT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DismissDecision getDefaultInstance()
Returns
Type Description
DismissDecision

getDescriptor()

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

newBuilder()

public static DismissDecision.Builder newBuilder()
Returns
Type Description
DismissDecision.Builder

newBuilder(DismissDecision prototype)

public static DismissDecision.Builder newBuilder(DismissDecision prototype)
Parameter
Name Description
prototype DismissDecision
Returns
Type Description
DismissDecision.Builder

parseDelimitedFrom(InputStream input)

public static DismissDecision parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DismissDecision
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DismissDecision
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DismissDecision parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DismissDecision
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DismissDecision
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DismissDecision parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DismissDecision
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DismissDecision
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DismissDecision parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DismissDecision
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DismissDecision
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DismissDecision parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DismissDecision
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DismissDecision
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DismissDecision parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DismissDecision
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DismissDecision
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DismissDecision> parser()
Returns
Type Description
Parser<DismissDecision>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DismissDecision getDefaultInstanceForType()
Returns
Type Description
DismissDecision

getDismissTime()

public Timestamp getDismissTime()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
Type Description
Timestamp

The dismissTime.

getDismissTimeOrBuilder()

public TimestampOrBuilder getDismissTimeOrBuilder()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
Type Description
TimestampOrBuilder

getImplicit()

public boolean getImplicit()

This field will be true if the ApprovalRequest was implicitly dismissed due to inaction by the access approval approvers (the request is not acted on by the approvers before the exiration time).

bool implicit = 2;

Returns
Type Description
boolean

The implicit.

getParserForType()

public Parser<DismissDecision> getParserForType()
Returns
Type Description
Parser<DismissDecision>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDismissTime()

public boolean hasDismissTime()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
Type Description
boolean

Whether the dismissTime field is set.

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 DismissDecision.Builder newBuilderForType()
Returns
Type Description
DismissDecision.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DismissDecision.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DismissDecision.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DismissDecision.Builder toBuilder()
Returns
Type Description
DismissDecision.Builder

writeTo(CodedOutputStream output)

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