Class AnalyzeIamPolicyRequest.Builder (3.3.1)

public static final class AnalyzeIamPolicyRequest.Builder extends GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder> implements AnalyzeIamPolicyRequestOrBuilder

A request message for AssetService.AnalyzeIamPolicy.

Protobuf type google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzeIamPolicyRequest build()
Returns
Type Description
AnalyzeIamPolicyRequest

buildPartial()

public AnalyzeIamPolicyRequest buildPartial()
Returns
Type Description
AnalyzeIamPolicyRequest

clear()

public AnalyzeIamPolicyRequest.Builder clear()
Returns
Type Description
AnalyzeIamPolicyRequest.Builder
Overrides

clearAnalysisQuery()

public AnalyzeIamPolicyRequest.Builder clearAnalysisQuery()

Required. The request query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnalyzeIamPolicyRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyzeIamPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyzeIamPolicyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOptions()

public AnalyzeIamPolicyRequest.Builder clearOptions()

Optional. The request options.

.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AnalyzeIamPolicyRequest.Builder

clone()

public AnalyzeIamPolicyRequest.Builder clone()
Returns
Type Description
AnalyzeIamPolicyRequest.Builder
Overrides

getAnalysisQuery()

public IamPolicyAnalysisQuery getAnalysisQuery()

Required. The request query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IamPolicyAnalysisQuery

The analysisQuery.

getAnalysisQueryBuilder()

public IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder()

Required. The request query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IamPolicyAnalysisQuery.Builder

getAnalysisQueryOrBuilder()

public IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder()

Required. The request query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IamPolicyAnalysisQueryOrBuilder

getDefaultInstanceForType()

public AnalyzeIamPolicyRequest getDefaultInstanceForType()
Returns
Type Description
AnalyzeIamPolicyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOptions()

public AnalyzeIamPolicyRequest.Options getOptions()

Optional. The request options.

.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AnalyzeIamPolicyRequest.Options

The options.

getOptionsBuilder()

public AnalyzeIamPolicyRequest.Options.Builder getOptionsBuilder()

Optional. The request options.

.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AnalyzeIamPolicyRequest.Options.Builder

getOptionsOrBuilder()

public AnalyzeIamPolicyRequest.OptionsOrBuilder getOptionsOrBuilder()

Optional. The request options.

.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AnalyzeIamPolicyRequest.OptionsOrBuilder

hasAnalysisQuery()

public boolean hasAnalysisQuery()

Required. The request query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the analysisQuery field is set.

hasOptions()

public boolean hasOptions()

Optional. The request options.

.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the options field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnalysisQuery(IamPolicyAnalysisQuery value)

public AnalyzeIamPolicyRequest.Builder mergeAnalysisQuery(IamPolicyAnalysisQuery value)

Required. The request query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IamPolicyAnalysisQuery
Returns
Type Description
AnalyzeIamPolicyRequest.Builder

mergeFrom(AnalyzeIamPolicyRequest other)

public AnalyzeIamPolicyRequest.Builder mergeFrom(AnalyzeIamPolicyRequest other)
Parameter
Name Description
other AnalyzeIamPolicyRequest
Returns
Type Description
AnalyzeIamPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzeIamPolicyRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzeIamPolicyRequest.Builder
Overrides

mergeOptions(AnalyzeIamPolicyRequest.Options value)

public AnalyzeIamPolicyRequest.Builder mergeOptions(AnalyzeIamPolicyRequest.Options value)

Optional. The request options.

.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AnalyzeIamPolicyRequest.Options
Returns
Type Description
AnalyzeIamPolicyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeIamPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeIamPolicyRequest.Builder
Overrides

setAnalysisQuery(IamPolicyAnalysisQuery value)

public AnalyzeIamPolicyRequest.Builder setAnalysisQuery(IamPolicyAnalysisQuery value)

Required. The request query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IamPolicyAnalysisQuery
Returns
Type Description
AnalyzeIamPolicyRequest.Builder

setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)

public AnalyzeIamPolicyRequest.Builder setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)

Required. The request query.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue IamPolicyAnalysisQuery.Builder
Returns
Type Description
AnalyzeIamPolicyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeIamPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeIamPolicyRequest.Builder
Overrides

setOptions(AnalyzeIamPolicyRequest.Options value)

public AnalyzeIamPolicyRequest.Builder setOptions(AnalyzeIamPolicyRequest.Options value)

Optional. The request options.

.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AnalyzeIamPolicyRequest.Options
Returns
Type Description
AnalyzeIamPolicyRequest.Builder

setOptions(AnalyzeIamPolicyRequest.Options.Builder builderForValue)

public AnalyzeIamPolicyRequest.Builder setOptions(AnalyzeIamPolicyRequest.Options.Builder builderForValue)

Optional. The request options.

.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AnalyzeIamPolicyRequest.Options.Builder
Returns
Type Description
AnalyzeIamPolicyRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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