public static final class ApproveDecision.Builder extends GeneratedMessage.Builder<ApproveDecision.Builder> implements ApproveDecisionOrBuilderA decision that has been made to approve access to a resource.
Protobuf type google.cloud.accessapproval.v1.ApproveDecision
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ApproveDecision.BuilderImplements
ApproveDecisionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ApproveDecision build()| Returns | |
|---|---|
| Type | Description |
ApproveDecision |
|
buildPartial()
public ApproveDecision buildPartial()| Returns | |
|---|---|
| Type | Description |
ApproveDecision |
|
clear()
public ApproveDecision.Builder clear()| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
clearApproveTime()
public ApproveDecision.Builder clearApproveTime()The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
clearAutoApproved()
public ApproveDecision.Builder clearAutoApproved()True when the request has been auto-approved.
bool auto_approved = 5;
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
This builder for chaining. |
clearExpireTime()
public ApproveDecision.Builder clearExpireTime()The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
clearInvalidateTime()
public ApproveDecision.Builder clearInvalidateTime()If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
clearSignatureInfo()
public ApproveDecision.Builder clearSignatureInfo()The signature for the ApprovalRequest and details on how it was signed.
.google.cloud.accessapproval.v1.SignatureInfo signature_info = 4;
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
getApproveTime()
public Timestamp getApproveTime()The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The approveTime. |
getApproveTimeBuilder()
public Timestamp.Builder getApproveTimeBuilder()The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getApproveTimeOrBuilder()
public TimestampOrBuilder getApproveTimeOrBuilder()The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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 | |
|---|---|
| Type | Description |
ApproveDecision |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExpireTime()
public Timestamp getExpireTime()The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getInvalidateTime()
public Timestamp getInvalidateTime()If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The invalidateTime. |
getInvalidateTimeBuilder()
public Timestamp.Builder getInvalidateTimeBuilder()If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getInvalidateTimeOrBuilder()
public TimestampOrBuilder getInvalidateTimeOrBuilder()If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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 | |
|---|---|
| Type | Description |
SignatureInfo |
The signatureInfo. |
getSignatureInfoBuilder()
public SignatureInfo.Builder getSignatureInfoBuilder()The signature for the ApprovalRequest and details on how it was signed.
.google.cloud.accessapproval.v1.SignatureInfo signature_info = 4;
| Returns | |
|---|---|
| Type | Description |
SignatureInfo.Builder |
|
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 | |
|---|---|
| Type | Description |
SignatureInfoOrBuilder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeApproveTime(Timestamp value)
public ApproveDecision.Builder mergeApproveTime(Timestamp value)The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
mergeExpireTime(Timestamp value)
public ApproveDecision.Builder mergeExpireTime(Timestamp value)The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
mergeFrom(ApproveDecision other)
public ApproveDecision.Builder mergeFrom(ApproveDecision other)| Parameter | |
|---|---|
| Name | Description |
other |
ApproveDecision |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ApproveDecision.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ApproveDecision.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
mergeInvalidateTime(Timestamp value)
public ApproveDecision.Builder mergeInvalidateTime(Timestamp value)If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
mergeSignatureInfo(SignatureInfo value)
public ApproveDecision.Builder mergeSignatureInfo(SignatureInfo value)The signature for the ApprovalRequest and details on how it was signed.
.google.cloud.accessapproval.v1.SignatureInfo signature_info = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
SignatureInfo |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
setApproveTime(Timestamp value)
public ApproveDecision.Builder setApproveTime(Timestamp value)The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
setApproveTime(Timestamp.Builder builderForValue)
public ApproveDecision.Builder setApproveTime(Timestamp.Builder builderForValue)The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
setAutoApproved(boolean value)
public ApproveDecision.Builder setAutoApproved(boolean value)True when the request has been auto-approved.
bool auto_approved = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe autoApproved to set. |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
This builder for chaining. |
setExpireTime(Timestamp value)
public ApproveDecision.Builder setExpireTime(Timestamp value)The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
setExpireTime(Timestamp.Builder builderForValue)
public ApproveDecision.Builder setExpireTime(Timestamp.Builder builderForValue)The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
setInvalidateTime(Timestamp value)
public ApproveDecision.Builder setInvalidateTime(Timestamp value)If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
setInvalidateTime(Timestamp.Builder builderForValue)
public ApproveDecision.Builder setInvalidateTime(Timestamp.Builder builderForValue)If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
setSignatureInfo(SignatureInfo value)
public ApproveDecision.Builder setSignatureInfo(SignatureInfo value)The signature for the ApprovalRequest and details on how it was signed.
.google.cloud.accessapproval.v1.SignatureInfo signature_info = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
SignatureInfo |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|
setSignatureInfo(SignatureInfo.Builder builderForValue)
public ApproveDecision.Builder setSignatureInfo(SignatureInfo.Builder builderForValue)The signature for the ApprovalRequest and details on how it was signed.
.google.cloud.accessapproval.v1.SignatureInfo signature_info = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SignatureInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
ApproveDecision.Builder |
|