Class SavedQuery.QueryContent.Builder (3.6.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

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
Type Description
SavedQuery.QueryContent.Builder
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
Type Description
SavedQuery.QueryContent.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SavedQuery.QueryContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SavedQuery.QueryContent.Builder
Overrides

clearQueryContent()

public SavedQuery.QueryContent.Builder clearQueryContent()
Returns
Type Description
SavedQuery.QueryContent.Builder

clone()

public SavedQuery.QueryContent.Builder clone()
Returns
Type Description
SavedQuery.QueryContent.Builder
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
Type Description
IamPolicyAnalysisQuery.Builder

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

getQueryContentCase()

public SavedQuery.QueryContent.QueryContentCase getQueryContentCase()
Returns
Type Description
SavedQuery.QueryContent.QueryContentCase

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
Type Description
SavedQuery.QueryContent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SavedQuery.QueryContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SavedQuery.QueryContent.Builder
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
Type Description
SavedQuery.QueryContent.Builder
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
Type Description
SavedQuery.QueryContent.Builder

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
Type Description
SavedQuery.QueryContent.Builder

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
Type Description
SavedQuery.QueryContent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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