Class SavedQuery.QueryContent.Builder (3.15.0)

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

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SavedQuery.QueryContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns Overrides

build()

public SavedQuery.QueryContent build()
Returns
Type Description
SavedQuery.QueryContent

buildPartial()

public SavedQuery.QueryContent buildPartial()
Returns
Type Description
SavedQuery.QueryContent

clear()

public SavedQuery.QueryContent.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

public SavedQuery.QueryContent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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
Name Description
oneof OneofDescriptor
Returns Overrides

clearQueryContent()

public SavedQuery.QueryContent.Builder clearQueryContent()
Returns

clone()

public SavedQuery.QueryContent.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public SavedQuery.QueryContent getDefaultInstanceForType()
Returns
Type Description
SavedQuery.QueryContent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
IamPolicyAnalysisQuery

The iamPolicyAnalysisQuery.

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SavedQuery.QueryContent other)

public SavedQuery.QueryContent.Builder mergeFrom(SavedQuery.QueryContent other)
Parameter
Name Description
other SavedQuery.QueryContent
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SavedQuery.QueryContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public SavedQuery.QueryContent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
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
Name Description
value IamPolicyAnalysisQuery
Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SavedQuery.QueryContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SavedQuery.QueryContent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Name Description
value IamPolicyAnalysisQuery
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
Name Description
builderForValue IamPolicyAnalysisQuery.Builder
Returns

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

public SavedQuery.QueryContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SavedQuery.QueryContent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns Overrides