public static final class UpdateAccessPolicyRequest.Builder extends GeneratedMessageV3.Builder<UpdateAccessPolicyRequest.Builder> implements UpdateAccessPolicyRequestOrBuilder
A request to update an AccessPolicy
.
Protobuf type google.identity.accesscontextmanager.v1.UpdateAccessPolicyRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAccessPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateAccessPolicyRequest build()
Returns
buildPartial()
public UpdateAccessPolicyRequest buildPartial()
Returns
clear()
public UpdateAccessPolicyRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateAccessPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAccessPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPolicy()
public UpdateAccessPolicyRequest.Builder clearPolicy()
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearUpdateMask()
public UpdateAccessPolicyRequest.Builder clearUpdateMask()
Required. Mask to control which fields get updated. Must be non-empty.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateAccessPolicyRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateAccessPolicyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPolicy()
public AccessPolicy getPolicy()
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getPolicyBuilder()
public AccessPolicy.Builder getPolicyBuilder()
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getPolicyOrBuilder()
public AccessPolicyOrBuilder getPolicyOrBuilder()
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
Required. Mask to control which fields get updated. Must be non-empty.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. Mask to control which fields get updated. Must be non-empty.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Mask to control which fields get updated. Must be non-empty.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasPolicy()
public boolean hasPolicy()
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the policy field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. Mask to control which fields get updated. Must be non-empty.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateAccessPolicyRequest other)
public UpdateAccessPolicyRequest.Builder mergeFrom(UpdateAccessPolicyRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAccessPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateAccessPolicyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePolicy(AccessPolicy value)
public UpdateAccessPolicyRequest.Builder mergePolicy(AccessPolicy value)
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAccessPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateAccessPolicyRequest.Builder mergeUpdateMask(FieldMask value)
Required. Mask to control which fields get updated. Must be non-empty.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAccessPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPolicy(AccessPolicy value)
public UpdateAccessPolicyRequest.Builder setPolicy(AccessPolicy value)
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setPolicy(AccessPolicy.Builder builderForValue)
public UpdateAccessPolicyRequest.Builder setPolicy(AccessPolicy.Builder builderForValue)
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAccessPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAccessPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateAccessPolicyRequest.Builder setUpdateMask(FieldMask value)
Required. Mask to control which fields get updated. Must be non-empty.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAccessPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. Mask to control which fields get updated. Must be non-empty.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
builderForValue | Builder
|
Returns