public static final class AnalyzeIamPolicyRequest.Builder extends GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder> implements AnalyzeIamPolicyRequestOrBuilder
A request message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].Protobuf type
google.cloud.asset.v1.AnalyzeIamPolicyRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
public AnalyzeIamPolicyRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
public AnalyzeIamPolicyRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AnalyzeIamPolicyRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AnalyzeIamPolicyRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AnalyzeIamPolicyRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
public AnalyzeIamPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
public AnalyzeIamPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
public AnalyzeIamPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
public AnalyzeIamPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
public AnalyzeIamPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
public AnalyzeIamPolicyRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AnalyzeIamPolicyRequest.Builder>
public AnalyzeIamPolicyRequest.Builder mergeFrom(AnalyzeIamPolicyRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
public AnalyzeIamPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AnalyzeIamPolicyRequest.Builder>
IOException
public boolean hasAnalysisQuery()
Required. The request query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
hasAnalysisQuery
in interface AnalyzeIamPolicyRequestOrBuilder
public IamPolicyAnalysisQuery getAnalysisQuery()
Required. The request query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
getAnalysisQuery
in interface AnalyzeIamPolicyRequestOrBuilder
public AnalyzeIamPolicyRequest.Builder setAnalysisQuery(IamPolicyAnalysisQuery value)
Required. The request query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
public AnalyzeIamPolicyRequest.Builder setAnalysisQuery(IamPolicyAnalysisQuery.Builder builderForValue)
Required. The request query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
public AnalyzeIamPolicyRequest.Builder mergeAnalysisQuery(IamPolicyAnalysisQuery value)
Required. The request query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
public AnalyzeIamPolicyRequest.Builder clearAnalysisQuery()
Required. The request query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
public IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder()
Required. The request query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
public IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder()
Required. The request query.
.google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
getAnalysisQueryOrBuilder
in interface AnalyzeIamPolicyRequestOrBuilder
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](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page. 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];
getSavedAnalysisQuery
in interface AnalyzeIamPolicyRequestOrBuilder
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](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page. 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];
getSavedAnalysisQueryBytes
in interface AnalyzeIamPolicyRequestOrBuilder
public AnalyzeIamPolicyRequest.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](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page. 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];
value
- The savedAnalysisQuery to set.public AnalyzeIamPolicyRequest.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](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page. 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];
public AnalyzeIamPolicyRequest.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](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page. 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];
value
- The bytes for savedAnalysisQuery to set.public boolean hasExecutionTimeout()
Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
hasExecutionTimeout
in interface AnalyzeIamPolicyRequestOrBuilder
public Duration getExecutionTimeout()
Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
getExecutionTimeout
in interface AnalyzeIamPolicyRequestOrBuilder
public AnalyzeIamPolicyRequest.Builder setExecutionTimeout(Duration value)
Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
public AnalyzeIamPolicyRequest.Builder setExecutionTimeout(Duration.Builder builderForValue)
Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
public AnalyzeIamPolicyRequest.Builder mergeExecutionTimeout(Duration value)
Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
public AnalyzeIamPolicyRequest.Builder clearExecutionTimeout()
Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
public Duration.Builder getExecutionTimeoutBuilder()
Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
public DurationOrBuilder getExecutionTimeoutOrBuilder()
Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn't finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query's execution will continue until the RPC deadline. If it's not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
getExecutionTimeoutOrBuilder
in interface AnalyzeIamPolicyRequestOrBuilder
public final AnalyzeIamPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
public final AnalyzeIamPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AnalyzeIamPolicyRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.