Class IamPolicyAnalysisQuery.ConditionContext.Builder (3.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IamPolicyAnalysisQuery.ConditionContext build()
Returns
TypeDescription
IamPolicyAnalysisQuery.ConditionContext

buildPartial()

public IamPolicyAnalysisQuery.ConditionContext buildPartial()
Returns
TypeDescription
IamPolicyAnalysisQuery.ConditionContext

clear()

public IamPolicyAnalysisQuery.ConditionContext.Builder clear()
Returns
TypeDescription
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
TypeDescription
IamPolicyAnalysisQuery.ConditionContext.Builder

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisQuery.ConditionContext.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IamPolicyAnalysisQuery.ConditionContext.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTimeContext()

public IamPolicyAnalysisQuery.ConditionContext.Builder clearTimeContext()
Returns
TypeDescription
IamPolicyAnalysisQuery.ConditionContext.Builder

clone()

public IamPolicyAnalysisQuery.ConditionContext.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public IamPolicyAnalysisQuery.ConditionContext getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisQuery.ConditionContext

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTimeContextCase()

public IamPolicyAnalysisQuery.ConditionContext.TimeContextCase getTimeContextCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the accessTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(IamPolicyAnalysisQuery.ConditionContext other)

public IamPolicyAnalysisQuery.ConditionContext.Builder mergeFrom(IamPolicyAnalysisQuery.ConditionContext other)
Parameter
NameDescription
otherIamPolicyAnalysisQuery.ConditionContext
Returns
TypeDescription
IamPolicyAnalysisQuery.ConditionContext.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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