Class IamPolicyAnalysisQuery.ConditionContext.Builder (3.23.0)

public static final class IamPolicyAnalysisQuery.ConditionContext.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTimeContext()

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisQuery.ConditionContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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