Class Grant.Timeline.Event.Requested.Builder (0.39.0)

public static final class Grant.Timeline.Event.Requested.Builder extends GeneratedMessage.Builder<Grant.Timeline.Event.Requested.Builder> implements Grant.Timeline.Event.RequestedOrBuilder

An event representing that a grant was requested.

Protobuf type google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Requested

Static Methods

getDescriptor()

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

Methods

build()

public Grant.Timeline.Event.Requested build()
Returns
Type Description
Grant.Timeline.Event.Requested

buildPartial()

public Grant.Timeline.Event.Requested buildPartial()
Returns
Type Description
Grant.Timeline.Event.Requested

clear()

public Grant.Timeline.Event.Requested.Builder clear()
Returns
Type Description
Grant.Timeline.Event.Requested.Builder
Overrides

clearExpireTime()

public Grant.Timeline.Event.Requested.Builder clearExpireTime()

Output only. The time at which this grant expires unless the approval workflow completes. If omitted, then the request never expires.

.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Grant.Timeline.Event.Requested.Builder

getDefaultInstanceForType()

public Grant.Timeline.Event.Requested getDefaultInstanceForType()
Returns
Type Description
Grant.Timeline.Event.Requested

getDescriptorForType()

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

getExpireTime()

public Timestamp getExpireTime()

Output only. The time at which this grant expires unless the approval workflow completes. If omitted, then the request never expires.

.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeBuilder()

public Timestamp.Builder getExpireTimeBuilder()

Output only. The time at which this grant expires unless the approval workflow completes. If omitted, then the request never expires.

.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

Output only. The time at which this grant expires unless the approval workflow completes. If omitted, then the request never expires.

.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasExpireTime()

public boolean hasExpireTime()

Output only. The time at which this grant expires unless the approval workflow completes. If omitted, then the request never expires.

.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expireTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpireTime(Timestamp value)

public Grant.Timeline.Event.Requested.Builder mergeExpireTime(Timestamp value)

Output only. The time at which this grant expires unless the approval workflow completes. If omitted, then the request never expires.

.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Grant.Timeline.Event.Requested.Builder

mergeFrom(Grant.Timeline.Event.Requested other)

public Grant.Timeline.Event.Requested.Builder mergeFrom(Grant.Timeline.Event.Requested other)
Parameter
Name Description
other Grant.Timeline.Event.Requested
Returns
Type Description
Grant.Timeline.Event.Requested.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Grant.Timeline.Event.Requested.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Grant.Timeline.Event.Requested.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Grant.Timeline.Event.Requested.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Grant.Timeline.Event.Requested.Builder
Overrides

setExpireTime(Timestamp value)

public Grant.Timeline.Event.Requested.Builder setExpireTime(Timestamp value)

Output only. The time at which this grant expires unless the approval workflow completes. If omitted, then the request never expires.

.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Grant.Timeline.Event.Requested.Builder

setExpireTime(Timestamp.Builder builderForValue)

public Grant.Timeline.Event.Requested.Builder setExpireTime(Timestamp.Builder builderForValue)

Output only. The time at which this grant expires unless the approval workflow completes. If omitted, then the request never expires.

.google.protobuf.Timestamp expire_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Grant.Timeline.Event.Requested.Builder