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
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_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
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
getParserForType()
public Parser<ApproveDecision> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.
|
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