Class SavedQuery.QueryContent.Builder

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

public static final class SavedQuery.QueryContent.Builder extends com.google.protobuf.GeneratedMessage.Builder<SavedQuery.QueryContent.Builder> implements SavedQuery.QueryContentOrBuilder
 The query content.
 
Protobuf type google.cloud.asset.v1.SavedQuery.QueryContent
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    An IAM Policy Analysis query, which could be used in the [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy] RPC or the [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning] RPC.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    An IAM Policy Analysis query, which could be used in the [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy] RPC or the [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning] RPC.
    An IAM Policy Analysis query, which could be used in the [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy] RPC or the [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning] RPC.
    An IAM Policy Analysis query, which could be used in the [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy] RPC or the [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning] RPC.
     
    boolean
    An IAM Policy Analysis query, which could be used in the [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy] RPC or the [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning] RPC.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    An IAM Policy Analysis query, which could be used in the [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy] RPC or the [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning] RPC.
    An IAM Policy Analysis query, which could be used in the [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy] RPC or the [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning] RPC.
    An IAM Policy Analysis query, which could be used in the [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy] RPC or the [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning] RPC.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<SavedQuery.QueryContent.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<SavedQuery.QueryContent.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<SavedQuery.QueryContent.Builder>
    • getDefaultInstanceForType

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

      public SavedQuery.QueryContent build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SavedQuery.QueryContent buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SavedQuery.QueryContent.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<SavedQuery.QueryContent.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<SavedQuery.QueryContent.Builder>
    • mergeFrom

      public SavedQuery.QueryContent.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<SavedQuery.QueryContent.Builder>
      Throws:
      IOException
    • getQueryContentCase

      public SavedQuery.QueryContent.QueryContentCase getQueryContentCase()
      Specified by:
      getQueryContentCase in interface SavedQuery.QueryContentOrBuilder
    • clearQueryContent

      public SavedQuery.QueryContent.Builder clearQueryContent()
    • hasIamPolicyAnalysisQuery

      public boolean hasIamPolicyAnalysisQuery()
       An IAM Policy Analysis query, which could be used in
       the
       [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]
       RPC or the
       [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
       RPC.
       
      .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
      Specified by:
      hasIamPolicyAnalysisQuery in interface SavedQuery.QueryContentOrBuilder
      Returns:
      Whether the iamPolicyAnalysisQuery field is set.
    • getIamPolicyAnalysisQuery

      public IamPolicyAnalysisQuery getIamPolicyAnalysisQuery()
       An IAM Policy Analysis query, which could be used in
       the
       [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]
       RPC or the
       [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
       RPC.
       
      .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
      Specified by:
      getIamPolicyAnalysisQuery in interface SavedQuery.QueryContentOrBuilder
      Returns:
      The iamPolicyAnalysisQuery.
    • setIamPolicyAnalysisQuery

      public SavedQuery.QueryContent.Builder setIamPolicyAnalysisQuery(IamPolicyAnalysisQuery value)
       An IAM Policy Analysis query, which could be used in
       the
       [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]
       RPC or the
       [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
       RPC.
       
      .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
    • setIamPolicyAnalysisQuery

      public SavedQuery.QueryContent.Builder setIamPolicyAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)
       An IAM Policy Analysis query, which could be used in
       the
       [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]
       RPC or the
       [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
       RPC.
       
      .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
    • mergeIamPolicyAnalysisQuery

      public SavedQuery.QueryContent.Builder mergeIamPolicyAnalysisQuery(IamPolicyAnalysisQuery value)
       An IAM Policy Analysis query, which could be used in
       the
       [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]
       RPC or the
       [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
       RPC.
       
      .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
    • clearIamPolicyAnalysisQuery

      public SavedQuery.QueryContent.Builder clearIamPolicyAnalysisQuery()
       An IAM Policy Analysis query, which could be used in
       the
       [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]
       RPC or the
       [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
       RPC.
       
      .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
    • getIamPolicyAnalysisQueryBuilder

      public IamPolicyAnalysisQuery.Builder getIamPolicyAnalysisQueryBuilder()
       An IAM Policy Analysis query, which could be used in
       the
       [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]
       RPC or the
       [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
       RPC.
       
      .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
    • getIamPolicyAnalysisQueryOrBuilder

      public IamPolicyAnalysisQueryOrBuilder getIamPolicyAnalysisQueryOrBuilder()
       An IAM Policy Analysis query, which could be used in
       the
       [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]
       RPC or the
       [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
       RPC.
       
      .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
      Specified by:
      getIamPolicyAnalysisQueryOrBuilder in interface SavedQuery.QueryContentOrBuilder