public final class UpdateEntitlementRequest extends GeneratedMessageV3 implements UpdateEntitlementRequestOrBuilder
Message for updating an entitlement.
Protobuf type google.cloud.privilegedaccessmanager.v1.UpdateEntitlementRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ENTITLEMENT_FIELD_NUMBER
public static final int ENTITLEMENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UpdateEntitlementRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateEntitlementRequest.Builder newBuilder()
newBuilder(UpdateEntitlementRequest prototype)
public static UpdateEntitlementRequest.Builder newBuilder(UpdateEntitlementRequest prototype)
public static UpdateEntitlementRequest parseDelimitedFrom(InputStream input)
public static UpdateEntitlementRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateEntitlementRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateEntitlementRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateEntitlementRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateEntitlementRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateEntitlementRequest parseFrom(CodedInputStream input)
public static UpdateEntitlementRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateEntitlementRequest parseFrom(InputStream input)
public static UpdateEntitlementRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateEntitlementRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateEntitlementRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateEntitlementRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UpdateEntitlementRequest getDefaultInstanceForType()
getEntitlement()
public Entitlement getEntitlement()
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];
getParserForType()
public Parser<UpdateEntitlementRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateEntitlementRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateEntitlementRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UpdateEntitlementRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides