public static final class UpdatePolicyRequest.Builder extends GeneratedMessageV3.Builder<UpdatePolicyRequest.Builder> implements UpdatePolicyRequestOrBuilder
Request message for UpdatePolicy
.
Protobuf type google.iam.v2beta.UpdatePolicyRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdatePolicyRequest.BuilderImplements
UpdatePolicyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdatePolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdatePolicyRequest.Builder |
build()
public UpdatePolicyRequest build()
Type | Description |
UpdatePolicyRequest |
buildPartial()
public UpdatePolicyRequest buildPartial()
Type | Description |
UpdatePolicyRequest |
clear()
public UpdatePolicyRequest.Builder clear()
Type | Description |
UpdatePolicyRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdatePolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
UpdatePolicyRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdatePolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UpdatePolicyRequest.Builder |
clearPolicy()
public UpdatePolicyRequest.Builder clearPolicy()
Required. The policy to update.
To prevent conflicting updates, the etag
value must match the value that
is stored in IAM. If the etag
values do not match, the request fails with
a 409
error code and ABORTED
status.
.google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
UpdatePolicyRequest.Builder |
clone()
public UpdatePolicyRequest.Builder clone()
Type | Description |
UpdatePolicyRequest.Builder |
getDefaultInstanceForType()
public UpdatePolicyRequest getDefaultInstanceForType()
Type | Description |
UpdatePolicyRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPolicy()
public Policy getPolicy()
Required. The policy to update.
To prevent conflicting updates, the etag
value must match the value that
is stored in IAM. If the etag
values do not match, the request fails with
a 409
error code and ABORTED
status.
.google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Policy | The policy. |
getPolicyBuilder()
public Policy.Builder getPolicyBuilder()
Required. The policy to update.
To prevent conflicting updates, the etag
value must match the value that
is stored in IAM. If the etag
values do not match, the request fails with
a 409
error code and ABORTED
status.
.google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Policy.Builder |
getPolicyOrBuilder()
public PolicyOrBuilder getPolicyOrBuilder()
Required. The policy to update.
To prevent conflicting updates, the etag
value must match the value that
is stored in IAM. If the etag
values do not match, the request fails with
a 409
error code and ABORTED
status.
.google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PolicyOrBuilder |
hasPolicy()
public boolean hasPolicy()
Required. The policy to update.
To prevent conflicting updates, the etag
value must match the value that
is stored in IAM. If the etag
values do not match, the request fails with
a 409
error code and ABORTED
status.
.google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the policy field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(UpdatePolicyRequest other)
public UpdatePolicyRequest.Builder mergeFrom(UpdatePolicyRequest other)
Name | Description |
other | UpdatePolicyRequest |
Type | Description |
UpdatePolicyRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdatePolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdatePolicyRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UpdatePolicyRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UpdatePolicyRequest.Builder |
mergePolicy(Policy value)
public UpdatePolicyRequest.Builder mergePolicy(Policy value)
Required. The policy to update.
To prevent conflicting updates, the etag
value must match the value that
is stored in IAM. If the etag
values do not match, the request fails with
a 409
error code and ABORTED
status.
.google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Policy |
Type | Description |
UpdatePolicyRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdatePolicyRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdatePolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdatePolicyRequest.Builder |
setPolicy(Policy value)
public UpdatePolicyRequest.Builder setPolicy(Policy value)
Required. The policy to update.
To prevent conflicting updates, the etag
value must match the value that
is stored in IAM. If the etag
values do not match, the request fails with
a 409
error code and ABORTED
status.
.google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Policy |
Type | Description |
UpdatePolicyRequest.Builder |
setPolicy(Policy.Builder builderForValue)
public UpdatePolicyRequest.Builder setPolicy(Policy.Builder builderForValue)
Required. The policy to update.
To prevent conflicting updates, the etag
value must match the value that
is stored in IAM. If the etag
values do not match, the request fails with
a 409
error code and ABORTED
status.
.google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | Policy.Builder |
Type | Description |
UpdatePolicyRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdatePolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UpdatePolicyRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdatePolicyRequest.Builder |