- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.4
- 2.1.12
public static final class ApproveDecision.Builder extends GeneratedMessageV3.Builder<ApproveDecision.Builder> implements ApproveDecisionOrBuilder
A decision that has been made to approve access to a resource.
Protobuf type google.cloud.accessapproval.v1.ApproveDecision
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ApproveDecision.BuilderImplements
ApproveDecisionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApproveDecision.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ApproveDecision.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public ApproveDecision.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public ApproveDecision.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
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 |
clone()
public ApproveDecision.Builder clone()
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApproveDecision.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
boolean The 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 |
setField(Descriptors.FieldDescriptor field, Object value)
public ApproveDecision.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
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 |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApproveDecision.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final ApproveDecision.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ApproveDecision.Builder |