Class DismissDecision.Builder (2.46.0)

public static final class DismissDecision.Builder extends GeneratedMessageV3.Builder<DismissDecision.Builder> implements DismissDecisionOrBuilder

A decision that has been made to dismiss an approval request.

Protobuf type google.cloud.accessapproval.v1.DismissDecision

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DismissDecision.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DismissDecision.Builder
Overrides

build()

public DismissDecision build()
Returns
Type Description
DismissDecision

buildPartial()

public DismissDecision buildPartial()
Returns
Type Description
DismissDecision

clear()

public DismissDecision.Builder clear()
Returns
Type Description
DismissDecision.Builder
Overrides

clearDismissTime()

public DismissDecision.Builder clearDismissTime()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
Type Description
DismissDecision.Builder

clearField(Descriptors.FieldDescriptor field)

public DismissDecision.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DismissDecision.Builder
Overrides

clearImplicit()

public DismissDecision.Builder clearImplicit()

This field will be true if the ApprovalRequest was implicitly dismissed due to inaction by the access approval approvers (the request is not acted on by the approvers before the exiration time).

bool implicit = 2;

Returns
Type Description
DismissDecision.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DismissDecision.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DismissDecision.Builder
Overrides

clone()

public DismissDecision.Builder clone()
Returns
Type Description
DismissDecision.Builder
Overrides

getDefaultInstanceForType()

public DismissDecision getDefaultInstanceForType()
Returns
Type Description
DismissDecision

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDismissTime()

public Timestamp getDismissTime()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
Type Description
Timestamp

The dismissTime.

getDismissTimeBuilder()

public Timestamp.Builder getDismissTimeBuilder()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
Type Description
Builder

getDismissTimeOrBuilder()

public TimestampOrBuilder getDismissTimeOrBuilder()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
Type Description
TimestampOrBuilder

getImplicit()

public boolean getImplicit()

This field will be true if the ApprovalRequest was implicitly dismissed due to inaction by the access approval approvers (the request is not acted on by the approvers before the exiration time).

bool implicit = 2;

Returns
Type Description
boolean

The implicit.

hasDismissTime()

public boolean hasDismissTime()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
Type Description
boolean

Whether the dismissTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDismissTime(Timestamp value)

public DismissDecision.Builder mergeDismissTime(Timestamp value)

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
DismissDecision.Builder

mergeFrom(DismissDecision other)

public DismissDecision.Builder mergeFrom(DismissDecision other)
Parameter
Name Description
other DismissDecision
Returns
Type Description
DismissDecision.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DismissDecision.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DismissDecision.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DismissDecision.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DismissDecision.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DismissDecision.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DismissDecision.Builder
Overrides

setDismissTime(Timestamp value)

public DismissDecision.Builder setDismissTime(Timestamp value)

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
DismissDecision.Builder

setDismissTime(Timestamp.Builder builderForValue)

public DismissDecision.Builder setDismissTime(Timestamp.Builder builderForValue)

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DismissDecision.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DismissDecision.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DismissDecision.Builder
Overrides

setImplicit(boolean value)

public DismissDecision.Builder setImplicit(boolean value)

This field will be true if the ApprovalRequest was implicitly dismissed due to inaction by the access approval approvers (the request is not acted on by the approvers before the exiration time).

bool implicit = 2;

Parameter
Name Description
value boolean

The implicit to set.

Returns
Type Description
DismissDecision.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DismissDecision.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DismissDecision.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DismissDecision.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DismissDecision.Builder
Overrides