public final class UpdateNfsShareRequest extends GeneratedMessageV3 implements UpdateNfsShareRequestOrBuilder
Message requesting to updating a NFS share.
Protobuf type google.cloud.baremetalsolution.v2.UpdateNfsShareRequest
Static Fields
public static final int NFS_SHARE_FIELD_NUMBER
Field Value
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
public static UpdateNfsShareRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static UpdateNfsShareRequest.Builder newBuilder()
Returns
public static UpdateNfsShareRequest.Builder newBuilder(UpdateNfsShareRequest prototype)
Parameter
Returns
public static UpdateNfsShareRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateNfsShareRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateNfsShareRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static UpdateNfsShareRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateNfsShareRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static UpdateNfsShareRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateNfsShareRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateNfsShareRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateNfsShareRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateNfsShareRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateNfsShareRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static UpdateNfsShareRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<UpdateNfsShareRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public UpdateNfsShareRequest getDefaultInstanceForType()
Returns
public NfsShare getNfsShare()
Required. The NFS share to update.
The name
field is used to identify the NFS share to update.
Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}
.google.cloud.baremetalsolution.v2.NfsShare nfs_share = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public NfsShareOrBuilder getNfsShareOrBuilder()
Required. The NFS share to update.
The name
field is used to identify the NFS share to update.
Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}
.google.cloud.baremetalsolution.v2.NfsShare nfs_share = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public Parser<UpdateNfsShareRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public FieldMask getUpdateMask()
The list of fields to update.
The only currently supported fields are:
labels
.google.protobuf.FieldMask update_mask = 2;
Returns
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to update.
The only currently supported fields are:
labels
.google.protobuf.FieldMask update_mask = 2;
Returns
public boolean hasNfsShare()
Required. The NFS share to update.
The name
field is used to identify the NFS share to update.
Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}
.google.cloud.baremetalsolution.v2.NfsShare nfs_share = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the nfsShare field is set.
|
public boolean hasUpdateMask()
The list of fields to update.
The only currently supported fields are:
labels
.google.protobuf.FieldMask update_mask = 2;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdateNfsShareRequest.Builder newBuilderForType()
Returns
protected UpdateNfsShareRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public UpdateNfsShareRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions