public static final class SavedQuery.QueryContent.Builder extends GeneratedMessageV3.Builder<SavedQuery.QueryContent.Builder> implements SavedQuery.QueryContentOrBuilder
The query content.
Protobuf type google.cloud.asset.v1.SavedQuery.QueryContent
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SavedQuery.QueryContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SavedQuery.QueryContent build()
Returns
buildPartial()
public SavedQuery.QueryContent buildPartial()
Returns
clear()
public SavedQuery.QueryContent.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SavedQuery.QueryContent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIamPolicyAnalysisQuery()
public SavedQuery.QueryContent.Builder clearIamPolicyAnalysisQuery()
An IAM Policy Analysis query, which could be used in
the AssetService.AnalyzeIamPolicy rpc or
the AssetService.AnalyzeIamPolicyLongrunning rpc.
.google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SavedQuery.QueryContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearQueryContent()
public SavedQuery.QueryContent.Builder clearQueryContent()
Returns
clone()
public SavedQuery.QueryContent.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SavedQuery.QueryContent getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getIamPolicyAnalysisQuery()
public IamPolicyAnalysisQuery getIamPolicyAnalysisQuery()
An IAM Policy Analysis query, which could be used in
the AssetService.AnalyzeIamPolicy rpc or
the AssetService.AnalyzeIamPolicyLongrunning rpc.
.google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
Returns
getIamPolicyAnalysisQueryBuilder()
public IamPolicyAnalysisQuery.Builder getIamPolicyAnalysisQueryBuilder()
An IAM Policy Analysis query, which could be used in
the AssetService.AnalyzeIamPolicy rpc or
the AssetService.AnalyzeIamPolicyLongrunning rpc.
.google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
Returns
getIamPolicyAnalysisQueryOrBuilder()
public IamPolicyAnalysisQueryOrBuilder getIamPolicyAnalysisQueryOrBuilder()
An IAM Policy Analysis query, which could be used in
the AssetService.AnalyzeIamPolicy rpc or
the AssetService.AnalyzeIamPolicyLongrunning rpc.
.google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
Returns
getQueryContentCase()
public SavedQuery.QueryContent.QueryContentCase getQueryContentCase()
Returns
hasIamPolicyAnalysisQuery()
public boolean hasIamPolicyAnalysisQuery()
An IAM Policy Analysis query, which could be used in
the AssetService.AnalyzeIamPolicy rpc or
the AssetService.AnalyzeIamPolicyLongrunning rpc.
.google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
Returns
Type |
Description |
boolean |
Whether the iamPolicyAnalysisQuery field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SavedQuery.QueryContent other)
public SavedQuery.QueryContent.Builder mergeFrom(SavedQuery.QueryContent other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SavedQuery.QueryContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SavedQuery.QueryContent.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeIamPolicyAnalysisQuery(IamPolicyAnalysisQuery value)
public SavedQuery.QueryContent.Builder mergeIamPolicyAnalysisQuery(IamPolicyAnalysisQuery value)
An IAM Policy Analysis query, which could be used in
the AssetService.AnalyzeIamPolicy rpc or
the AssetService.AnalyzeIamPolicyLongrunning rpc.
.google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SavedQuery.QueryContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SavedQuery.QueryContent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setIamPolicyAnalysisQuery(IamPolicyAnalysisQuery value)
public SavedQuery.QueryContent.Builder setIamPolicyAnalysisQuery(IamPolicyAnalysisQuery value)
An IAM Policy Analysis query, which could be used in
the AssetService.AnalyzeIamPolicy rpc or
the AssetService.AnalyzeIamPolicyLongrunning rpc.
.google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
Parameter
Returns
setIamPolicyAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)
public SavedQuery.QueryContent.Builder setIamPolicyAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)
An IAM Policy Analysis query, which could be used in
the AssetService.AnalyzeIamPolicy rpc or
the AssetService.AnalyzeIamPolicyLongrunning rpc.
.google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SavedQuery.QueryContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SavedQuery.QueryContent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides