public static final class ResourcePolicyMember.Builder extends GeneratedMessageV3.Builder<ResourcePolicyMember.Builder> implements ResourcePolicyMemberOrBuilder
Output-only policy member strings of a Google Cloud resource's built-in identity.
Protobuf type google.iam.v1.ResourcePolicyMember
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourcePolicyMember.BuilderImplements
ResourcePolicyMemberOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyMember.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
build()
public ResourcePolicyMember build()
Returns | |
---|---|
Type | Description |
ResourcePolicyMember |
buildPartial()
public ResourcePolicyMember buildPartial()
Returns | |
---|---|
Type | Description |
ResourcePolicyMember |
clear()
public ResourcePolicyMember.Builder clear()
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
clearField(Descriptors.FieldDescriptor field)
public ResourcePolicyMember.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
clearIamPolicyNamePrincipal()
public ResourcePolicyMember.Builder clearIamPolicyNamePrincipal()
IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource.
Example:
principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter
string iam_policy_name_principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
This builder for chaining. |
clearIamPolicyUidPrincipal()
public ResourcePolicyMember.Builder clearIamPolicyUidPrincipal()
IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource
Example:
principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5
string iam_policy_uid_principal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourcePolicyMember.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
clone()
public ResourcePolicyMember.Builder clone()
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
getDefaultInstanceForType()
public ResourcePolicyMember getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ResourcePolicyMember |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getIamPolicyNamePrincipal()
public String getIamPolicyNamePrincipal()
IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource.
Example:
principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter
string iam_policy_name_principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The iamPolicyNamePrincipal. |
getIamPolicyNamePrincipalBytes()
public ByteString getIamPolicyNamePrincipalBytes()
IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource.
Example:
principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter
string iam_policy_name_principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for iamPolicyNamePrincipal. |
getIamPolicyUidPrincipal()
public String getIamPolicyUidPrincipal()
IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource
Example:
principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5
string iam_policy_uid_principal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The iamPolicyUidPrincipal. |
getIamPolicyUidPrincipalBytes()
public ByteString getIamPolicyUidPrincipalBytes()
IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource
Example:
principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5
string iam_policy_uid_principal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for iamPolicyUidPrincipal. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ResourcePolicyMember other)
public ResourcePolicyMember.Builder mergeFrom(ResourcePolicyMember other)
Parameter | |
---|---|
Name | Description |
other |
ResourcePolicyMember |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourcePolicyMember.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResourcePolicyMember.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyMember.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourcePolicyMember.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
setIamPolicyNamePrincipal(String value)
public ResourcePolicyMember.Builder setIamPolicyNamePrincipal(String value)
IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource.
Example:
principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter
string iam_policy_name_principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The iamPolicyNamePrincipal to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
This builder for chaining. |
setIamPolicyNamePrincipalBytes(ByteString value)
public ResourcePolicyMember.Builder setIamPolicyNamePrincipalBytes(ByteString value)
IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource.
Example:
principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter
string iam_policy_name_principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for iamPolicyNamePrincipal to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
This builder for chaining. |
setIamPolicyUidPrincipal(String value)
public ResourcePolicyMember.Builder setIamPolicyUidPrincipal(String value)
IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource
Example:
principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5
string iam_policy_uid_principal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The iamPolicyUidPrincipal to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
This builder for chaining. |
setIamPolicyUidPrincipalBytes(ByteString value)
public ResourcePolicyMember.Builder setIamPolicyUidPrincipalBytes(ByteString value)
IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource
Example:
principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5
string iam_policy_uid_principal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for iamPolicyUidPrincipal to set. |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourcePolicyMember.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourcePolicyMember.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourcePolicyMember.Builder |