Class IamPolicyAnalysisQuery.ConditionContext.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisQuery.ConditionContext.Builder>
com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder
All Implemented Interfaces:
IamPolicyAnalysisQuery.ConditionContextOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
IamPolicyAnalysisQuery.ConditionContext

public static final class IamPolicyAnalysisQuery.ConditionContext.Builder extends com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisQuery.ConditionContext.Builder> implements IamPolicyAnalysisQuery.ConditionContextOrBuilder
 The IAM conditions context.
 
Protobuf type google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisQuery.ConditionContext.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisQuery.ConditionContext.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisQuery.ConditionContext.Builder>
    • getDefaultInstanceForType

      public IamPolicyAnalysisQuery.ConditionContext getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public IamPolicyAnalysisQuery.ConditionContext.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IamPolicyAnalysisQuery.ConditionContext.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<IamPolicyAnalysisQuery.ConditionContext.Builder>
    • mergeFrom

      public IamPolicyAnalysisQuery.ConditionContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IamPolicyAnalysisQuery.ConditionContext.Builder>
      Throws:
      IOException
    • getTimeContextCase

      Specified by:
      getTimeContextCase in interface IamPolicyAnalysisQuery.ConditionContextOrBuilder
    • clearTimeContext

    • 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;
      Specified by:
      hasAccessTime in interface IamPolicyAnalysisQuery.ConditionContextOrBuilder
      Returns:
      Whether the accessTime field is set.
    • getAccessTime

      public com.google.protobuf.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;
      Specified by:
      getAccessTime in interface IamPolicyAnalysisQuery.ConditionContextOrBuilder
      Returns:
      The accessTime.
    • setAccessTime

      public IamPolicyAnalysisQuery.ConditionContext.Builder setAccessTime(com.google.protobuf.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;
    • setAccessTime

      public IamPolicyAnalysisQuery.ConditionContext.Builder setAccessTime(com.google.protobuf.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;
    • mergeAccessTime

      public IamPolicyAnalysisQuery.ConditionContext.Builder mergeAccessTime(com.google.protobuf.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;
    • 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;
    • getAccessTimeBuilder

      public com.google.protobuf.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;
    • getAccessTimeOrBuilder

      public com.google.protobuf.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;
      Specified by:
      getAccessTimeOrBuilder in interface IamPolicyAnalysisQuery.ConditionContextOrBuilder