Class IamPolicyAnalysisQuery.ConditionContext.Builder (3.87.0)

public static final class IamPolicyAnalysisQuery.ConditionContext.Builder extends GeneratedMessage.Builder<IamPolicyAnalysisQuery.ConditionContext.Builder> implements IamPolicyAnalysisQuery.ConditionContextOrBuilder

The IAM conditions context.

Protobuf type google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext

Static Methods

getDescriptor()

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

Methods

build()

public IamPolicyAnalysisQuery.ConditionContext build()
Returns
Type Description
IamPolicyAnalysisQuery.ConditionContext

buildPartial()

public IamPolicyAnalysisQuery.ConditionContext buildPartial()
Returns
Type Description
IamPolicyAnalysisQuery.ConditionContext

clear()

public IamPolicyAnalysisQuery.ConditionContext.Builder clear()
Returns
Type Description
IamPolicyAnalysisQuery.ConditionContext.Builder
Overrides

clearAccessTime()

public IamPolicyAnalysisQuery.ConditionContext.Builder clearAccessTime()

The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.

.google.protobuf.Timestamp access_time = 1;

Returns
Type Description
IamPolicyAnalysisQuery.ConditionContext.Builder

clearTimeContext()

public IamPolicyAnalysisQuery.ConditionContext.Builder clearTimeContext()
Returns
Type Description
IamPolicyAnalysisQuery.ConditionContext.Builder

getAccessTime()

public Timestamp getAccessTime()

The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.

.google.protobuf.Timestamp access_time = 1;

Returns
Type Description
Timestamp

The accessTime.

getAccessTimeBuilder()

public Timestamp.Builder getAccessTimeBuilder()

The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.

.google.protobuf.Timestamp access_time = 1;

Returns
Type Description
Builder

getAccessTimeOrBuilder()

public TimestampOrBuilder getAccessTimeOrBuilder()

The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.

.google.protobuf.Timestamp access_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public IamPolicyAnalysisQuery.ConditionContext getDefaultInstanceForType()
Returns
Type Description
IamPolicyAnalysisQuery.ConditionContext

getDescriptorForType()

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

getTimeContextCase()

public IamPolicyAnalysisQuery.ConditionContext.TimeContextCase getTimeContextCase()
Returns
Type Description
IamPolicyAnalysisQuery.ConditionContext.TimeContextCase

hasAccessTime()

public boolean hasAccessTime()

The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.

.google.protobuf.Timestamp access_time = 1;

Returns
Type Description
boolean

Whether the accessTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccessTime(Timestamp value)

public IamPolicyAnalysisQuery.ConditionContext.Builder mergeAccessTime(Timestamp value)

The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.

.google.protobuf.Timestamp access_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
IamPolicyAnalysisQuery.ConditionContext.Builder

mergeFrom(IamPolicyAnalysisQuery.ConditionContext other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAccessTime(Timestamp value)

public IamPolicyAnalysisQuery.ConditionContext.Builder setAccessTime(Timestamp value)

The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.

.google.protobuf.Timestamp access_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
IamPolicyAnalysisQuery.ConditionContext.Builder

setAccessTime(Timestamp.Builder builderForValue)

public IamPolicyAnalysisQuery.ConditionContext.Builder setAccessTime(Timestamp.Builder builderForValue)

The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.

.google.protobuf.Timestamp access_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IamPolicyAnalysisQuery.ConditionContext.Builder