Class AnalyzeIamPolicyRequest.Builder (3.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzeIamPolicyRequest build()
Returns
TypeDescription
AnalyzeIamPolicyRequest

buildPartial()

public AnalyzeIamPolicyRequest buildPartial()
Returns
TypeDescription
AnalyzeIamPolicyRequest

clear()

public AnalyzeIamPolicyRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
AnalyzeIamPolicyRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyzeIamPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AnalyzeIamPolicyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeIamPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AnalyzeIamPolicyRequest.Builder

clone()

public AnalyzeIamPolicyRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
IamPolicyAnalysisQuery.Builder

getAnalysisQueryOrBuilder()

public IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder()

Required. The request query.

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

Returns
TypeDescription
IamPolicyAnalysisQueryOrBuilder

getDefaultInstanceForType()

public AnalyzeIamPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeIamPolicyRequest

getDescriptorForType()

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

hasAnalysisQuery()

public boolean hasAnalysisQuery()

Required. The request query.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the options field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueIamPolicyAnalysisQuery
Returns
TypeDescription
AnalyzeIamPolicyRequest.Builder

mergeFrom(AnalyzeIamPolicyRequest other)

public AnalyzeIamPolicyRequest.Builder mergeFrom(AnalyzeIamPolicyRequest other)
Parameter
NameDescription
otherAnalyzeIamPolicyRequest
Returns
TypeDescription
AnalyzeIamPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzeIamPolicyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueAnalyzeIamPolicyRequest.Options
Returns
TypeDescription
AnalyzeIamPolicyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeIamPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueIamPolicyAnalysisQuery
Returns
TypeDescription
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
NameDescription
builderForValueIamPolicyAnalysisQuery.Builder
Returns
TypeDescription
AnalyzeIamPolicyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeIamPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAnalyzeIamPolicyRequest.Options
Returns
TypeDescription
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
NameDescription
builderForValueAnalyzeIamPolicyRequest.Options.Builder
Returns
TypeDescription
AnalyzeIamPolicyRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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