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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApproveDecision.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ApproveDecision build()
Returns
buildPartial()
public ApproveDecision buildPartial()
Returns
clear()
public ApproveDecision.Builder clear()
Returns
Overrides
clearApproveTime()
public ApproveDecision.Builder clearApproveTime()
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
Returns
clearExpireTime()
public ApproveDecision.Builder clearExpireTime()
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public ApproveDecision.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ApproveDecision.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ApproveDecision.Builder clone()
Returns
Overrides
getApproveTime()
public Timestamp getApproveTime()
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
Returns
getApproveTimeBuilder()
public Timestamp.Builder getApproveTimeBuilder()
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExpireTime()
public Timestamp getExpireTime()
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
Returns
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()
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
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeApproveTime(Timestamp value)
public ApproveDecision.Builder mergeApproveTime(Timestamp value)
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
Parameter
Returns
mergeExpireTime(Timestamp value)
public ApproveDecision.Builder mergeExpireTime(Timestamp value)
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
Parameter
Returns
mergeFrom(ApproveDecision other)
public ApproveDecision.Builder mergeFrom(ApproveDecision other)
Parameter
Returns
public ApproveDecision.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ApproveDecision.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApproveDecision.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setApproveTime(Timestamp value)
public ApproveDecision.Builder setApproveTime(Timestamp value)
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
Parameter
Returns
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
setExpireTime(Timestamp value)
public ApproveDecision.Builder setExpireTime(Timestamp value)
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public ApproveDecision.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApproveDecision.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ApproveDecision.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides