public static final class IamPolicyAnalysisQuery.IdentitySelector.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder> implements IamPolicyAnalysisQuery.IdentitySelectorOrBuilder
Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.Protobuf type
google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector
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<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public IamPolicyAnalysisQuery.IdentitySelector.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public IamPolicyAnalysisQuery.IdentitySelector build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public IamPolicyAnalysisQuery.IdentitySelector buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public IamPolicyAnalysisQuery.IdentitySelector.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public IamPolicyAnalysisQuery.IdentitySelector.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public IamPolicyAnalysisQuery.IdentitySelector.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public IamPolicyAnalysisQuery.IdentitySelector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public IamPolicyAnalysisQuery.IdentitySelector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public IamPolicyAnalysisQuery.IdentitySelector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public IamPolicyAnalysisQuery.IdentitySelector.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public IamPolicyAnalysisQuery.IdentitySelector.Builder mergeFrom(IamPolicyAnalysisQuery.IdentitySelector other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public IamPolicyAnalysisQuery.IdentitySelector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
IOException
public String getIdentity()
Required. The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.
string identity = 1 [(.google.api.field_behavior) = REQUIRED];
getIdentity
in interface IamPolicyAnalysisQuery.IdentitySelectorOrBuilder
public ByteString getIdentityBytes()
Required. The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.
string identity = 1 [(.google.api.field_behavior) = REQUIRED];
getIdentityBytes
in interface IamPolicyAnalysisQuery.IdentitySelectorOrBuilder
public IamPolicyAnalysisQuery.IdentitySelector.Builder setIdentity(String value)
Required. The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.
string identity = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The identity to set.public IamPolicyAnalysisQuery.IdentitySelector.Builder clearIdentity()
Required. The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.
string identity = 1 [(.google.api.field_behavior) = REQUIRED];
public IamPolicyAnalysisQuery.IdentitySelector.Builder setIdentityBytes(ByteString value)
Required. The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.
string identity = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for identity to set.public final IamPolicyAnalysisQuery.IdentitySelector.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
public final IamPolicyAnalysisQuery.IdentitySelector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder>
Copyright © 2022 Google LLC. All rights reserved.