Class DismissDecision.Builder (2.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DismissDecision.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DismissDecision.Builder
Overrides

build()

public DismissDecision build()
Returns
TypeDescription
DismissDecision

buildPartial()

public DismissDecision buildPartial()
Returns
TypeDescription
DismissDecision

clear()

public DismissDecision.Builder clear()
Returns
TypeDescription
DismissDecision.Builder
Overrides

clearDismissTime()

public DismissDecision.Builder clearDismissTime()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
TypeDescription
DismissDecision.Builder

clearField(Descriptors.FieldDescriptor field)

public DismissDecision.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DismissDecision.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DismissDecision.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DismissDecision.Builder
Overrides

clone()

public DismissDecision.Builder clone()
Returns
TypeDescription
DismissDecision.Builder
Overrides

getDefaultInstanceForType()

public DismissDecision getDefaultInstanceForType()
Returns
TypeDescription
DismissDecision

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDismissTime()

public Timestamp getDismissTime()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
TypeDescription
Timestamp

The dismissTime.

getDismissTimeBuilder()

public Timestamp.Builder getDismissTimeBuilder()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
TypeDescription
Builder

getDismissTimeOrBuilder()

public TimestampOrBuilder getDismissTimeOrBuilder()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
TypeDescription
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
TypeDescription
boolean

The implicit.

hasDismissTime()

public boolean hasDismissTime()

The time at which the approval request was dismissed.

.google.protobuf.Timestamp dismiss_time = 1;

Returns
TypeDescription
boolean

Whether the dismissTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
DismissDecision.Builder

mergeFrom(DismissDecision other)

public DismissDecision.Builder mergeFrom(DismissDecision other)
Parameter
NameDescription
otherDismissDecision
Returns
TypeDescription
DismissDecision.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DismissDecision.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DismissDecision.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DismissDecision.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DismissDecision.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DismissDecision.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
DismissDecision.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DismissDecision.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The implicit to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DismissDecision.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DismissDecision.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DismissDecision.Builder
Overrides