Class ApproveDecision.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
- com.google.cloud.accessapproval.v1.ApproveDecision.Builder
-
- All Implemented Interfaces:
ApproveDecisionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ApproveDecision
public static final class ApproveDecision.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder> implements ApproveDecisionOrBuilder
A decision that has been made to approve access to a resource.
Protobuf typegoogle.cloud.accessapproval.v1.ApproveDecision
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApproveDecision.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApproveDecision
build()
ApproveDecision
buildPartial()
ApproveDecision.Builder
clear()
ApproveDecision.Builder
clearApproveTime()
The time at which approval was granted.ApproveDecision.Builder
clearAutoApproved()
True when the request has been auto-approved.ApproveDecision.Builder
clearExpireTime()
The time at which the approval expires.ApproveDecision.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ApproveDecision.Builder
clearInvalidateTime()
If set, denotes the timestamp at which the approval is invalidated.ApproveDecision.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ApproveDecision.Builder
clearSignatureInfo()
The signature for the ApprovalRequest and details on how it was signed.ApproveDecision.Builder
clone()
com.google.protobuf.Timestamp
getApproveTime()
The time at which approval was granted.com.google.protobuf.Timestamp.Builder
getApproveTimeBuilder()
The time at which approval was granted.com.google.protobuf.TimestampOrBuilder
getApproveTimeOrBuilder()
The time at which approval was granted.boolean
getAutoApproved()
True when the request has been auto-approved.ApproveDecision
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getExpireTime()
The time at which the approval expires.com.google.protobuf.Timestamp.Builder
getExpireTimeBuilder()
The time at which the approval expires.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
The time at which the approval expires.com.google.protobuf.Timestamp
getInvalidateTime()
If set, denotes the timestamp at which the approval is invalidated.com.google.protobuf.Timestamp.Builder
getInvalidateTimeBuilder()
If set, denotes the timestamp at which the approval is invalidated.com.google.protobuf.TimestampOrBuilder
getInvalidateTimeOrBuilder()
If set, denotes the timestamp at which the approval is invalidated.SignatureInfo
getSignatureInfo()
The signature for the ApprovalRequest and details on how it was signed.SignatureInfo.Builder
getSignatureInfoBuilder()
The signature for the ApprovalRequest and details on how it was signed.SignatureInfoOrBuilder
getSignatureInfoOrBuilder()
The signature for the ApprovalRequest and details on how it was signed.boolean
hasApproveTime()
The time at which approval was granted.boolean
hasExpireTime()
The time at which the approval expires.boolean
hasInvalidateTime()
If set, denotes the timestamp at which the approval is invalidated.boolean
hasSignatureInfo()
The signature for the ApprovalRequest and details on how it was signed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ApproveDecision.Builder
mergeApproveTime(com.google.protobuf.Timestamp value)
The time at which approval was granted.ApproveDecision.Builder
mergeExpireTime(com.google.protobuf.Timestamp value)
The time at which the approval expires.ApproveDecision.Builder
mergeFrom(ApproveDecision other)
ApproveDecision.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApproveDecision.Builder
mergeFrom(com.google.protobuf.Message other)
ApproveDecision.Builder
mergeInvalidateTime(com.google.protobuf.Timestamp value)
If set, denotes the timestamp at which the approval is invalidated.ApproveDecision.Builder
mergeSignatureInfo(SignatureInfo value)
The signature for the ApprovalRequest and details on how it was signed.ApproveDecision.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ApproveDecision.Builder
setApproveTime(com.google.protobuf.Timestamp value)
The time at which approval was granted.ApproveDecision.Builder
setApproveTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which approval was granted.ApproveDecision.Builder
setAutoApproved(boolean value)
True when the request has been auto-approved.ApproveDecision.Builder
setExpireTime(com.google.protobuf.Timestamp value)
The time at which the approval expires.ApproveDecision.Builder
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the approval expires.ApproveDecision.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApproveDecision.Builder
setInvalidateTime(com.google.protobuf.Timestamp value)
If set, denotes the timestamp at which the approval is invalidated.ApproveDecision.Builder
setInvalidateTime(com.google.protobuf.Timestamp.Builder builderForValue)
If set, denotes the timestamp at which the approval is invalidated.ApproveDecision.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ApproveDecision.Builder
setSignatureInfo(SignatureInfo value)
The signature for the ApprovalRequest and details on how it was signed.ApproveDecision.Builder
setSignatureInfo(SignatureInfo.Builder builderForValue)
The signature for the ApprovalRequest and details on how it was signed.ApproveDecision.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
clear
public ApproveDecision.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
getDefaultInstanceForType
public ApproveDecision getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ApproveDecision build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ApproveDecision buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ApproveDecision.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
setField
public ApproveDecision.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
clearField
public ApproveDecision.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
clearOneof
public ApproveDecision.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
setRepeatedField
public ApproveDecision.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
addRepeatedField
public ApproveDecision.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
mergeFrom
public ApproveDecision.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApproveDecision.Builder>
-
mergeFrom
public ApproveDecision.Builder mergeFrom(ApproveDecision other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
mergeFrom
public ApproveDecision.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApproveDecision.Builder>
- Throws:
IOException
-
hasApproveTime
public boolean hasApproveTime()
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
- Specified by:
hasApproveTime
in interfaceApproveDecisionOrBuilder
- Returns:
- Whether the approveTime field is set.
-
getApproveTime
public com.google.protobuf.Timestamp getApproveTime()
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
- Specified by:
getApproveTime
in interfaceApproveDecisionOrBuilder
- Returns:
- The approveTime.
-
setApproveTime
public ApproveDecision.Builder setApproveTime(com.google.protobuf.Timestamp value)
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
-
setApproveTime
public ApproveDecision.Builder setApproveTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
-
mergeApproveTime
public ApproveDecision.Builder mergeApproveTime(com.google.protobuf.Timestamp value)
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
-
clearApproveTime
public ApproveDecision.Builder clearApproveTime()
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
-
getApproveTimeBuilder
public com.google.protobuf.Timestamp.Builder getApproveTimeBuilder()
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
-
getApproveTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getApproveTimeOrBuilder()
The time at which approval was granted.
.google.protobuf.Timestamp approve_time = 1;
- Specified by:
getApproveTimeOrBuilder
in interfaceApproveDecisionOrBuilder
-
hasExpireTime
public boolean hasExpireTime()
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
- Specified by:
hasExpireTime
in interfaceApproveDecisionOrBuilder
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
- Specified by:
getExpireTime
in interfaceApproveDecisionOrBuilder
- Returns:
- The expireTime.
-
setExpireTime
public ApproveDecision.Builder setExpireTime(com.google.protobuf.Timestamp value)
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
-
setExpireTime
public ApproveDecision.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
-
mergeExpireTime
public ApproveDecision.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
-
clearExpireTime
public ApproveDecision.Builder clearExpireTime()
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
-
getExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
The time at which the approval expires.
.google.protobuf.Timestamp expire_time = 2;
- Specified by:
getExpireTimeOrBuilder
in interfaceApproveDecisionOrBuilder
-
hasInvalidateTime
public boolean hasInvalidateTime()
If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
- Specified by:
hasInvalidateTime
in interfaceApproveDecisionOrBuilder
- Returns:
- Whether the invalidateTime field is set.
-
getInvalidateTime
public com.google.protobuf.Timestamp getInvalidateTime()
If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
- Specified by:
getInvalidateTime
in interfaceApproveDecisionOrBuilder
- Returns:
- The invalidateTime.
-
setInvalidateTime
public ApproveDecision.Builder setInvalidateTime(com.google.protobuf.Timestamp value)
If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
-
setInvalidateTime
public ApproveDecision.Builder setInvalidateTime(com.google.protobuf.Timestamp.Builder builderForValue)
If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
-
mergeInvalidateTime
public ApproveDecision.Builder mergeInvalidateTime(com.google.protobuf.Timestamp value)
If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
-
clearInvalidateTime
public ApproveDecision.Builder clearInvalidateTime()
If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
-
getInvalidateTimeBuilder
public com.google.protobuf.Timestamp.Builder getInvalidateTimeBuilder()
If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
-
getInvalidateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getInvalidateTimeOrBuilder()
If set, denotes the timestamp at which the approval is invalidated.
.google.protobuf.Timestamp invalidate_time = 3;
- Specified by:
getInvalidateTimeOrBuilder
in interfaceApproveDecisionOrBuilder
-
hasSignatureInfo
public boolean hasSignatureInfo()
The signature for the ApprovalRequest and details on how it was signed.
.google.cloud.accessapproval.v1.SignatureInfo signature_info = 4;
- Specified by:
hasSignatureInfo
in interfaceApproveDecisionOrBuilder
- Returns:
- Whether the signatureInfo field is set.
-
getSignatureInfo
public SignatureInfo getSignatureInfo()
The signature for the ApprovalRequest and details on how it was signed.
.google.cloud.accessapproval.v1.SignatureInfo signature_info = 4;
- Specified by:
getSignatureInfo
in interfaceApproveDecisionOrBuilder
- Returns:
- The signatureInfo.
-
setSignatureInfo
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;
-
setSignatureInfo
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;
-
mergeSignatureInfo
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;
-
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;
-
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;
-
getSignatureInfoOrBuilder
public SignatureInfoOrBuilder getSignatureInfoOrBuilder()
The signature for the ApprovalRequest and details on how it was signed.
.google.cloud.accessapproval.v1.SignatureInfo signature_info = 4;
- Specified by:
getSignatureInfoOrBuilder
in interfaceApproveDecisionOrBuilder
-
getAutoApproved
public boolean getAutoApproved()
True when the request has been auto-approved.
bool auto_approved = 5;
- Specified by:
getAutoApproved
in interfaceApproveDecisionOrBuilder
- Returns:
- The autoApproved.
-
setAutoApproved
public ApproveDecision.Builder setAutoApproved(boolean value)
True when the request has been auto-approved.
bool auto_approved = 5;
- Parameters:
value
- The autoApproved to set.- Returns:
- This builder for chaining.
-
clearAutoApproved
public ApproveDecision.Builder clearAutoApproved()
True when the request has been auto-approved.
bool auto_approved = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ApproveDecision.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
mergeUnknownFields
public final ApproveDecision.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApproveDecision.Builder>
-
-