Send feedback
Class ApproveDecision (2.4.9)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.9 keyboard_arrow_down
public final class ApproveDecision extends GeneratedMessageV3 implements ApproveDecisionOrBuilder
A decision that has been made to approve access to a resource.
Protobuf type google.cloud.accessapproval.v1.ApproveDecision
Static Fields
APPROVE_TIME_FIELD_NUMBER
public static final int APPROVE_TIME_FIELD_NUMBER
Field Value
AUTO_APPROVED_FIELD_NUMBER
public static final int AUTO_APPROVED_FIELD_NUMBER
Field Value
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
INVALIDATE_TIME_FIELD_NUMBER
public static final int INVALIDATE_TIME_FIELD_NUMBER
Field Value
SIGNATURE_INFO_FIELD_NUMBER
public static final int SIGNATURE_INFO_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ApproveDecision getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static ApproveDecision . Builder newBuilder ()
Returns
newBuilder(ApproveDecision prototype)
public static ApproveDecision . Builder newBuilder ( ApproveDecision prototype )
Parameter
Returns
public static ApproveDecision parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ApproveDecision parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ApproveDecision parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ApproveDecision parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ApproveDecision parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ApproveDecision parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ApproveDecision parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static ApproveDecision parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ApproveDecision parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ApproveDecision parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ApproveDecision parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ApproveDecision parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<ApproveDecision> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getApproveTime()
public Timestamp getApproveTime ()
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
Returns
getApproveTimeOrBuilder()
public TimestampOrBuilder getApproveTimeOrBuilder ()
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
Returns
getAutoApproved()
public boolean getAutoApproved ()
True when the request has been auto-approved.
bool auto_approved = 5;
Returns
Type Description boolean The autoApproved.
getDefaultInstanceForType()
public ApproveDecision getDefaultInstanceForType ()
Returns
getExpireTime()
public Timestamp getExpireTime ()
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
Returns
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder ()
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
Returns
getInvalidateTime()
public Timestamp getInvalidateTime ()
If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
Returns
getInvalidateTimeOrBuilder()
public TimestampOrBuilder getInvalidateTimeOrBuilder ()
If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
Returns
getParserForType()
public Parser<ApproveDecision> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getSignatureInfo()
public SignatureInfo getSignatureInfo ()
The signature for the ApprovalRequest and details on how it was signed.
.google.cloud.accessapproval.v1.SignatureInfo signature_info = 4;
Returns
getSignatureInfoOrBuilder()
public SignatureInfoOrBuilder getSignatureInfoOrBuilder ()
The signature for the ApprovalRequest and details on how it was signed.
.google.cloud.accessapproval.v1.SignatureInfo signature_info = 4;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hasApproveTime()
public boolean hasApproveTime ()
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
Returns
Type Description boolean Whether the approveTime field is set.
hasExpireTime()
public boolean hasExpireTime ()
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
Returns
Type Description boolean Whether the expireTime field is set.
hasInvalidateTime()
public boolean hasInvalidateTime ()
If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
Returns
Type Description boolean Whether the invalidateTime field is set.
hasSignatureInfo()
public boolean hasSignatureInfo ()
The signature for the ApprovalRequest and details on how it was signed.
.google.cloud.accessapproval.v1.SignatureInfo signature_info = 4;
Returns
Type Description boolean Whether the signatureInfo field is set.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public ApproveDecision . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ApproveDecision . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public ApproveDecision . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]