public static final class UpdateEntitlementRequest.Builder extends GeneratedMessageV3.Builder<UpdateEntitlementRequest.Builder> implements UpdateEntitlementRequestOrBuilder
Message for updating an entitlement.
Protobuf type google.cloud.privilegedaccessmanager.v1.UpdateEntitlementRequest
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 UpdateEntitlementRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateEntitlementRequest build()
buildPartial()
public UpdateEntitlementRequest buildPartial()
clear()
public UpdateEntitlementRequest.Builder clear()
Overrides
clearEntitlement()
public UpdateEntitlementRequest.Builder clearEntitlement()
Required. The entitlement resource that is updated.
.google.cloud.privilegedaccessmanager.v1.Entitlement entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateEntitlementRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateEntitlementRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateEntitlementRequest.Builder clearUpdateMask()
Required. The list of fields to update. A field is overwritten if, and only
if, it is in the mask. Any immutable fields set in the mask are ignored by
the server. Repeated fields and map fields are only allowed in the last
position of a paths
string and overwrite the existing values. Hence an
update to a repeated field or a map should contain the entire list of
values. The fields specified in the update_mask are relative to the
resource and not to the request.
(e.g. MaxRequestDuration
; not entitlement.MaxRequestDuration
)
A value of '*' for this field refers to full replacement of the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateEntitlementRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateEntitlementRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEntitlement()
public Entitlement getEntitlement()
Required. The entitlement resource that is updated.
.google.cloud.privilegedaccessmanager.v1.Entitlement entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
getEntitlementBuilder()
public Entitlement.Builder getEntitlementBuilder()
Required. The entitlement resource that is updated.
.google.cloud.privilegedaccessmanager.v1.Entitlement entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
getEntitlementOrBuilder()
public EntitlementOrBuilder getEntitlementOrBuilder()
Required. The entitlement resource that is updated.
.google.cloud.privilegedaccessmanager.v1.Entitlement entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Required. The list of fields to update. A field is overwritten if, and only
if, it is in the mask. Any immutable fields set in the mask are ignored by
the server. Repeated fields and map fields are only allowed in the last
position of a paths
string and overwrite the existing values. Hence an
update to a repeated field or a map should contain the entire list of
values. The fields specified in the update_mask are relative to the
resource and not to the request.
(e.g. MaxRequestDuration
; not entitlement.MaxRequestDuration
)
A value of '*' for this field refers to full replacement of the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The list of fields to update. A field is overwritten if, and only
if, it is in the mask. Any immutable fields set in the mask are ignored by
the server. Repeated fields and map fields are only allowed in the last
position of a paths
string and overwrite the existing values. Hence an
update to a repeated field or a map should contain the entire list of
values. The fields specified in the update_mask are relative to the
resource and not to the request.
(e.g. MaxRequestDuration
; not entitlement.MaxRequestDuration
)
A value of '*' for this field refers to full replacement of the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The list of fields to update. A field is overwritten if, and only
if, it is in the mask. Any immutable fields set in the mask are ignored by
the server. Repeated fields and map fields are only allowed in the last
position of a paths
string and overwrite the existing values. Hence an
update to a repeated field or a map should contain the entire list of
values. The fields specified in the update_mask are relative to the
resource and not to the request.
(e.g. MaxRequestDuration
; not entitlement.MaxRequestDuration
)
A value of '*' for this field refers to full replacement of the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
hasEntitlement()
public boolean hasEntitlement()
Required. The entitlement resource that is updated.
.google.cloud.privilegedaccessmanager.v1.Entitlement entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the entitlement field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. The list of fields to update. A field is overwritten if, and only
if, it is in the mask. Any immutable fields set in the mask are ignored by
the server. Repeated fields and map fields are only allowed in the last
position of a paths
string and overwrite the existing values. Hence an
update to a repeated field or a map should contain the entire list of
values. The fields specified in the update_mask are relative to the
resource and not to the request.
(e.g. MaxRequestDuration
; not entitlement.MaxRequestDuration
)
A value of '*' for this field refers to full replacement of the resource.
.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
mergeEntitlement(Entitlement value)
public UpdateEntitlementRequest.Builder mergeEntitlement(Entitlement value)
Required. The entitlement resource that is updated.
.google.cloud.privilegedaccessmanager.v1.Entitlement entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateEntitlementRequest other)
public UpdateEntitlementRequest.Builder mergeFrom(UpdateEntitlementRequest other)
public UpdateEntitlementRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateEntitlementRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEntitlementRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateEntitlementRequest.Builder mergeUpdateMask(FieldMask value)
Required. The list of fields to update. A field is overwritten if, and only
if, it is in the mask. Any immutable fields set in the mask are ignored by
the server. Repeated fields and map fields are only allowed in the last
position of a paths
string and overwrite the existing values. Hence an
update to a repeated field or a map should contain the entire list of
values. The fields specified in the update_mask are relative to the
resource and not to the request.
(e.g. MaxRequestDuration
; not entitlement.MaxRequestDuration
)
A value of '*' for this field refers to full replacement of the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setEntitlement(Entitlement value)
public UpdateEntitlementRequest.Builder setEntitlement(Entitlement value)
Required. The entitlement resource that is updated.
.google.cloud.privilegedaccessmanager.v1.Entitlement entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
setEntitlement(Entitlement.Builder builderForValue)
public UpdateEntitlementRequest.Builder setEntitlement(Entitlement.Builder builderForValue)
Required. The entitlement resource that is updated.
.google.cloud.privilegedaccessmanager.v1.Entitlement entitlement = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateEntitlementRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateEntitlementRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEntitlementRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateEntitlementRequest.Builder setUpdateMask(FieldMask value)
Required. The list of fields to update. A field is overwritten if, and only
if, it is in the mask. Any immutable fields set in the mask are ignored by
the server. Repeated fields and map fields are only allowed in the last
position of a paths
string and overwrite the existing values. Hence an
update to a repeated field or a map should contain the entire list of
values. The fields specified in the update_mask are relative to the
resource and not to the request.
(e.g. MaxRequestDuration
; not entitlement.MaxRequestDuration
)
A value of '*' for this field refers to full replacement of the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateEntitlementRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The list of fields to update. A field is overwritten if, and only
if, it is in the mask. Any immutable fields set in the mask are ignored by
the server. Repeated fields and map fields are only allowed in the last
position of a paths
string and overwrite the existing values. Hence an
update to a repeated field or a map should contain the entire list of
values. The fields specified in the update_mask are relative to the
resource and not to the request.
(e.g. MaxRequestDuration
; not entitlement.MaxRequestDuration
)
A value of '*' for this field refers to full replacement of the resource.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|