Class UpdateBackupConfigRequest (0.82.0)

public final class UpdateBackupConfigRequest extends GeneratedMessage implements UpdateBackupConfigRequestOrBuilder

Request message for UpdateBackupConfig

Protobuf type google.cloud.netapp.v1.UpdateBackupConfigRequest

Static Fields

BACKUP_CONFIG_FIELD_NUMBER

public static final int BACKUP_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

VOLUME_UUID_FIELD_NUMBER

public static final int VOLUME_UUID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateBackupConfigRequest getDefaultInstance()
Returns
Type Description
UpdateBackupConfigRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpdateBackupConfigRequest.Builder newBuilder()
Returns
Type Description
UpdateBackupConfigRequest.Builder

newBuilder(UpdateBackupConfigRequest prototype)

public static UpdateBackupConfigRequest.Builder newBuilder(UpdateBackupConfigRequest prototype)
Parameter
Name Description
prototype UpdateBackupConfigRequest
Returns
Type Description
UpdateBackupConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateBackupConfigRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateBackupConfigRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateBackupConfigRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateBackupConfigRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateBackupConfigRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateBackupConfigRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateBackupConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateBackupConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateBackupConfigRequest> parser()
Returns
Type Description
Parser<UpdateBackupConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBackupConfig()

public BackupConfig getBackupConfig()

Required. Backup configuration to apply.

.google.cloud.netapp.v1.BackupConfig backup_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupConfig

The backupConfig.

getBackupConfigOrBuilder()

public BackupConfigOrBuilder getBackupConfigOrBuilder()

Required. Backup configuration to apply.

.google.cloud.netapp.v1.BackupConfig backup_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupConfigOrBuilder

getDefaultInstanceForType()

public UpdateBackupConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateBackupConfigRequest

getName()

public String getName()

Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<UpdateBackupConfigRequest> getParserForType()
Returns
Type Description
Parser<UpdateBackupConfigRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

getVolumeUuid()

public String getVolumeUuid()

Required. The UUID of the ONTAP-mode volume.

string volume_uuid = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The volumeUuid.

getVolumeUuidBytes()

public ByteString getVolumeUuidBytes()

Required. The UUID of the ONTAP-mode volume.

string volume_uuid = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for volumeUuid.

hasBackupConfig()

public boolean hasBackupConfig()

Required. Backup configuration to apply.

.google.cloud.netapp.v1.BackupConfig backup_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the backupConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateBackupConfigRequest.Builder newBuilderForType()
Returns
Type Description
UpdateBackupConfigRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpdateBackupConfigRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateBackupConfigRequest.Builder
Overrides

toBuilder()

public UpdateBackupConfigRequest.Builder toBuilder()
Returns
Type Description
UpdateBackupConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException