Package com.google.iam.admin.v1
Class LintPolicyRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LintPolicyRequest.Builder>
com.google.iam.admin.v1.LintPolicyRequest.Builder
- All Implemented Interfaces:
LintPolicyRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LintPolicyRequest
public static final class LintPolicyRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LintPolicyRequest.Builder>
implements LintPolicyRequestOrBuilder
The request to lint a Cloud IAM policy object.Protobuf type
google.iam.admin.v1.LintPolicyRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.The full resource name of the policy this lint request is about.[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe full resource name of the policy this lint request is about.com.google.protobuf.ByteStringThe full resource name of the policy this lint request is about.boolean[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCondition(Expr value) [google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.mergeFrom(LintPolicyRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCondition(Expr value) [google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.setCondition(Expr.Builder builderForValue) [google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.setFullResourceName(String value) The full resource name of the policy this lint request is about.setFullResourceNameBytes(com.google.protobuf.ByteString value) The full resource name of the policy this lint request is about.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LintPolicyRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LintPolicyRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LintPolicyRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LintPolicyRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LintPolicyRequest.Builder>
-
mergeFrom
public LintPolicyRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LintPolicyRequest.Builder>- Throws:
IOException
-
getLintObjectCase
- Specified by:
getLintObjectCasein interfaceLintPolicyRequestOrBuilder
-
clearLintObject
-
getFullResourceName
The full resource name of the policy this lint request is about. The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.
string full_resource_name = 1;- Specified by:
getFullResourceNamein interfaceLintPolicyRequestOrBuilder- Returns:
- The fullResourceName.
-
getFullResourceNameBytes
public com.google.protobuf.ByteString getFullResourceNameBytes()The full resource name of the policy this lint request is about. The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.
string full_resource_name = 1;- Specified by:
getFullResourceNameBytesin interfaceLintPolicyRequestOrBuilder- Returns:
- The bytes for fullResourceName.
-
setFullResourceName
The full resource name of the policy this lint request is about. The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.
string full_resource_name = 1;- Parameters:
value- The fullResourceName to set.- Returns:
- This builder for chaining.
-
clearFullResourceName
The full resource name of the policy this lint request is about. The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.
string full_resource_name = 1;- Returns:
- This builder for chaining.
-
setFullResourceNameBytes
The full resource name of the policy this lint request is about. The name follows the Google Cloud Platform (GCP) resource format. For example, a GCP project with ID `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource name is not used to read the policy instance from the Cloud IAM database. The candidate policy for lint has to be provided in the same request object.
string full_resource_name = 1;- Parameters:
value- The bytes for fullResourceName to set.- Returns:
- This builder for chaining.
-
hasCondition
public boolean hasCondition()[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5;- Specified by:
hasConditionin interfaceLintPolicyRequestOrBuilder- Returns:
- Whether the condition field is set.
-
getCondition
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5;- Specified by:
getConditionin interfaceLintPolicyRequestOrBuilder- Returns:
- The condition.
-
setCondition
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5; -
setCondition
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5; -
mergeCondition
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5; -
clearCondition
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5; -
getConditionBuilder
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5; -
getConditionOrBuilder
[google.iam.v1.Binding.condition] [google.iam.v1.Binding.condition] object to be linted.
.google.type.Expr condition = 5;- Specified by:
getConditionOrBuilderin interfaceLintPolicyRequestOrBuilder
-