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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeIamPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AnalyzeIamPolicyRequest build()
Returns
buildPartial()
public AnalyzeIamPolicyRequest buildPartial()
Returns
clear()
public AnalyzeIamPolicyRequest.Builder clear()
Returns
Overrides
clearAnalysisQuery()
public AnalyzeIamPolicyRequest.Builder clearAnalysisQuery()
Required. The request query.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public AnalyzeIamPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeIamPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOptions()
public AnalyzeIamPolicyRequest.Builder clearOptions()
Optional. The request options.
.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public AnalyzeIamPolicyRequest.Builder clone()
Returns
Overrides
getAnalysisQuery()
public IamPolicyAnalysisQuery getAnalysisQuery()
Required. The request query.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAnalysisQueryBuilder()
public IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder()
Required. The request query.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAnalysisQueryOrBuilder()
public IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder()
Required. The request query.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public AnalyzeIamPolicyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getOptions()
public AnalyzeIamPolicyRequest.Options getOptions()
Optional. The request options.
.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getOptionsBuilder()
public AnalyzeIamPolicyRequest.Options.Builder getOptionsBuilder()
Optional. The request options.
.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getOptionsOrBuilder()
public AnalyzeIamPolicyRequest.OptionsOrBuilder getOptionsOrBuilder()
Optional. The request options.
.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(AnalyzeIamPolicyRequest other)
public AnalyzeIamPolicyRequest.Builder mergeFrom(AnalyzeIamPolicyRequest other)
Parameter
Returns
public AnalyzeIamPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnalyzeIamPolicyRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeIamPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeIamPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeIamPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeIamPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides