Class DismissDecision (2.33.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
TypeDescription
int

IMPLICIT_FIELD_NUMBER

public static final int IMPLICIT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DismissDecision getDefaultInstance()
Returns
TypeDescription
DismissDecision

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DismissDecision.Builder newBuilder()
Returns
TypeDescription
DismissDecision.Builder

newBuilder(DismissDecision prototype)

public static DismissDecision.Builder newBuilder(DismissDecision prototype)
Parameter
NameDescription
prototypeDismissDecision
Returns
TypeDescription
DismissDecision.Builder

parseDelimitedFrom(InputStream input)

public static DismissDecision parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DismissDecision parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DismissDecision parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DismissDecision parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DismissDecision parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DismissDecision parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DismissDecision parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DismissDecision
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DismissDecision> parser()
Returns
TypeDescription
Parser<DismissDecision>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DismissDecision getDefaultInstanceForType()
Returns
TypeDescription
DismissDecision

getDismissTime()

public Timestamp getDismissTime()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
TypeDescription
Timestamp

The dismissTime.

getDismissTimeOrBuilder()

public TimestampOrBuilder getDismissTimeOrBuilder()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
TypeDescription
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
TypeDescription
boolean

The implicit.

getParserForType()

public Parser<DismissDecision> getParserForType()
Returns
TypeDescription
Parser<DismissDecision>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDismissTime()

public boolean hasDismissTime()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
TypeDescription
boolean

Whether the dismissTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DismissDecision.Builder newBuilderForType()
Returns
TypeDescription
DismissDecision.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DismissDecision.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DismissDecision.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DismissDecision.Builder toBuilder()
Returns
TypeDescription
DismissDecision.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException