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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAccessPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateAccessPolicyRequest build()
buildPartial()
public UpdateAccessPolicyRequest buildPartial()
clear()
public UpdateAccessPolicyRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateAccessPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAccessPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPolicy()
public UpdateAccessPolicyRequest.Builder clearPolicy()
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
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];
clone()
public UpdateAccessPolicyRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateAccessPolicyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPolicy()
public AccessPolicy getPolicy()
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
getPolicyBuilder()
public AccessPolicy.Builder getPolicyBuilder()
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
getPolicyOrBuilder()
public AccessPolicyOrBuilder getPolicyOrBuilder()
Required. The updated AccessPolicy.
.google.identity.accesscontextmanager.v1.AccessPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
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 |
Type |
Description |
FieldMask |
The updateMask.
|
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateAccessPolicyRequest other)
public UpdateAccessPolicyRequest.Builder mergeFrom(UpdateAccessPolicyRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAccessPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateAccessPolicyRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAccessPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAccessPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAccessPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAccessPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|