Class SavedQuery.QueryContent.Builder (3.7.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SavedQuery.QueryContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SavedQuery.QueryContent.Builder
Overrides

build()

public SavedQuery.QueryContent build()
Returns
TypeDescription
SavedQuery.QueryContent

buildPartial()

public SavedQuery.QueryContent buildPartial()
Returns
TypeDescription
SavedQuery.QueryContent

clear()

public SavedQuery.QueryContent.Builder clear()
Returns
TypeDescription
SavedQuery.QueryContent.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SavedQuery.QueryContent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SavedQuery.QueryContent.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SavedQuery.QueryContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SavedQuery.QueryContent.Builder
Overrides

clearQueryContent()

public SavedQuery.QueryContent.Builder clearQueryContent()
Returns
TypeDescription
SavedQuery.QueryContent.Builder

clone()

public SavedQuery.QueryContent.Builder clone()
Returns
TypeDescription
SavedQuery.QueryContent.Builder
Overrides

getDefaultInstanceForType()

public SavedQuery.QueryContent getDefaultInstanceForType()
Returns
TypeDescription
SavedQuery.QueryContent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
IamPolicyAnalysisQueryOrBuilder

getQueryContentCase()

public SavedQuery.QueryContent.QueryContentCase getQueryContentCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the iamPolicyAnalysisQuery field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SavedQuery.QueryContent other)

public SavedQuery.QueryContent.Builder mergeFrom(SavedQuery.QueryContent other)
Parameter
NameDescription
otherSavedQuery.QueryContent
Returns
TypeDescription
SavedQuery.QueryContent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SavedQuery.QueryContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SavedQuery.QueryContent.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SavedQuery.QueryContent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueIamPolicyAnalysisQuery
Returns
TypeDescription
SavedQuery.QueryContent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SavedQuery.QueryContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SavedQuery.QueryContent.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SavedQuery.QueryContent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueIamPolicyAnalysisQuery
Returns
TypeDescription
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
NameDescription
builderForValueIamPolicyAnalysisQuery.Builder
Returns
TypeDescription
SavedQuery.QueryContent.Builder

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

public SavedQuery.QueryContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SavedQuery.QueryContent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SavedQuery.QueryContent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SavedQuery.QueryContent.Builder
Overrides