Class AnalyzeIamPolicyLongrunningRequest.Builder (3.7.1)

public static final class AnalyzeIamPolicyLongrunningRequest.Builder extends GeneratedMessageV3.Builder<AnalyzeIamPolicyLongrunningRequest.Builder> implements AnalyzeIamPolicyLongrunningRequestOrBuilder

A request message for AssetService.AnalyzeIamPolicyLongrunning.

Protobuf type google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzeIamPolicyLongrunningRequest build()
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest

buildPartial()

public AnalyzeIamPolicyLongrunningRequest buildPartial()
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest

clear()

public AnalyzeIamPolicyLongrunningRequest.Builder clear()
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder
Overrides

clearAnalysisQuery()

public AnalyzeIamPolicyLongrunningRequest.Builder clearAnalysisQuery()

Required. The request query.

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

Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputConfig()

public AnalyzeIamPolicyLongrunningRequest.Builder clearOutputConfig()

Required. Output configuration indicating where the results will be output to.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

clearSavedAnalysisQuery()

public AnalyzeIamPolicyLongrunningRequest.Builder clearSavedAnalysisQuery()

Optional. The name of a saved query, which must be in the format of:

  • projects/project_number/savedQueries/saved_query_id
  • folders/folder_number/savedQueries/saved_query_id
  • organizations/organization_number/savedQueries/saved_query_id If both analysis_query and saved_analysis_query are provided, they will be merged together with the saved_analysis_query as base and the analysis_query as overrides. For more details of the merge behavior, please refer to the MergeFrom doc. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.

string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

This builder for chaining.

clone()

public AnalyzeIamPolicyLongrunningRequest.Builder clone()
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder
Overrides

getAnalysisQuery()

public IamPolicyAnalysisQuery getAnalysisQuery()

Required. The request query.

.google.cloud.asset.v1.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.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

getAnalysisQueryOrBuilder()

public IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder()

Required. The request query.

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

Returns
TypeDescription
IamPolicyAnalysisQueryOrBuilder

getDefaultInstanceForType()

public AnalyzeIamPolicyLongrunningRequest getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOutputConfig()

public IamPolicyAnalysisOutputConfig getOutputConfig()

Required. Output configuration indicating where the results will be output to.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IamPolicyAnalysisOutputConfig

The outputConfig.

getOutputConfigBuilder()

public IamPolicyAnalysisOutputConfig.Builder getOutputConfigBuilder()

Required. Output configuration indicating where the results will be output to.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IamPolicyAnalysisOutputConfig.Builder

getOutputConfigOrBuilder()

public IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder()

Required. Output configuration indicating where the results will be output to.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IamPolicyAnalysisOutputConfigOrBuilder

getSavedAnalysisQuery()

public String getSavedAnalysisQuery()

Optional. The name of a saved query, which must be in the format of:

  • projects/project_number/savedQueries/saved_query_id
  • folders/folder_number/savedQueries/saved_query_id
  • organizations/organization_number/savedQueries/saved_query_id If both analysis_query and saved_analysis_query are provided, they will be merged together with the saved_analysis_query as base and the analysis_query as overrides. For more details of the merge behavior, please refer to the MergeFrom doc. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.

string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The savedAnalysisQuery.

getSavedAnalysisQueryBytes()

public ByteString getSavedAnalysisQueryBytes()

Optional. The name of a saved query, which must be in the format of:

  • projects/project_number/savedQueries/saved_query_id
  • folders/folder_number/savedQueries/saved_query_id
  • organizations/organization_number/savedQueries/saved_query_id If both analysis_query and saved_analysis_query are provided, they will be merged together with the saved_analysis_query as base and the analysis_query as overrides. For more details of the merge behavior, please refer to the MergeFrom doc. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.

string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for savedAnalysisQuery.

hasAnalysisQuery()

public boolean hasAnalysisQuery()

Required. The request query.

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

Returns
TypeDescription
boolean

Whether the analysisQuery field is set.

hasOutputConfig()

public boolean hasOutputConfig()

Required. Output configuration indicating where the results will be output to.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the outputConfig 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 AnalyzeIamPolicyLongrunningRequest.Builder mergeAnalysisQuery(IamPolicyAnalysisQuery value)

Required. The request query.

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

mergeFrom(AnalyzeIamPolicyLongrunningRequest other)

public AnalyzeIamPolicyLongrunningRequest.Builder mergeFrom(AnalyzeIamPolicyLongrunningRequest other)
Parameter
NameDescription
otherAnalyzeIamPolicyLongrunningRequest
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzeIamPolicyLongrunningRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder
Overrides

mergeOutputConfig(IamPolicyAnalysisOutputConfig value)

public AnalyzeIamPolicyLongrunningRequest.Builder mergeOutputConfig(IamPolicyAnalysisOutputConfig value)

Required. Output configuration indicating where the results will be output to.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueIamPolicyAnalysisOutputConfig
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAnalysisQuery(IamPolicyAnalysisQuery value)

public AnalyzeIamPolicyLongrunningRequest.Builder setAnalysisQuery(IamPolicyAnalysisQuery value)

Required. The request query.

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

Parameter
NameDescription
valueIamPolicyAnalysisQuery
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)

public AnalyzeIamPolicyLongrunningRequest.Builder setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)

Required. The request query.

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

Parameter
NameDescription
builderForValueIamPolicyAnalysisQuery.Builder
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutputConfig(IamPolicyAnalysisOutputConfig value)

public AnalyzeIamPolicyLongrunningRequest.Builder setOutputConfig(IamPolicyAnalysisOutputConfig value)

Required. Output configuration indicating where the results will be output to.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueIamPolicyAnalysisOutputConfig
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

setOutputConfig(IamPolicyAnalysisOutputConfig.Builder builderForValue)

public AnalyzeIamPolicyLongrunningRequest.Builder setOutputConfig(IamPolicyAnalysisOutputConfig.Builder builderForValue)

Required. Output configuration indicating where the results will be output to.

.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueIamPolicyAnalysisOutputConfig.Builder
Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

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

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

setSavedAnalysisQuery(String value)

public AnalyzeIamPolicyLongrunningRequest.Builder setSavedAnalysisQuery(String value)

Optional. The name of a saved query, which must be in the format of:

  • projects/project_number/savedQueries/saved_query_id
  • folders/folder_number/savedQueries/saved_query_id
  • organizations/organization_number/savedQueries/saved_query_id If both analysis_query and saved_analysis_query are provided, they will be merged together with the saved_analysis_query as base and the analysis_query as overrides. For more details of the merge behavior, please refer to the MergeFrom doc. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.

string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The savedAnalysisQuery to set.

Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

This builder for chaining.

setSavedAnalysisQueryBytes(ByteString value)

public AnalyzeIamPolicyLongrunningRequest.Builder setSavedAnalysisQueryBytes(ByteString value)

Optional. The name of a saved query, which must be in the format of:

  • projects/project_number/savedQueries/saved_query_id
  • folders/folder_number/savedQueries/saved_query_id
  • organizations/organization_number/savedQueries/saved_query_id If both analysis_query and saved_analysis_query are provided, they will be merged together with the saved_analysis_query as base and the analysis_query as overrides. For more details of the merge behavior, please refer to the MergeFrom doc. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.

string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for savedAnalysisQuery to set.

Returns
TypeDescription
AnalyzeIamPolicyLongrunningRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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