publicfinalclass CreateBackupRequestextendsGeneratedMessageV3implementsCreateBackupRequestOrBuilder
CreateBackupRequest creates a backup.
Protobuf type google.cloud.netapp.v1.CreateBackupRequest
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
BACKUP_FIELD_NUMBER
publicstaticfinalintBACKUP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
BACKUP_ID_FIELD_NUMBER
publicstaticfinalintBACKUP_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PARENT_FIELD_NUMBER
publicstaticfinalintPARENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticCreateBackupRequestgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticCreateBackupRequest.BuildernewBuilder()
newBuilder(CreateBackupRequest prototype)
publicstaticCreateBackupRequest.BuildernewBuilder(CreateBackupRequestprototype)
publicstaticCreateBackupRequestparseDelimitedFrom(InputStreaminput)
publicstaticCreateBackupRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticCreateBackupRequestparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateBackupRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticCreateBackupRequestparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateBackupRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateBackupRequestparseFrom(CodedInputStreaminput)
publicstaticCreateBackupRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateBackupRequestparseFrom(InputStreaminput)
publicstaticCreateBackupRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticCreateBackupRequestparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateBackupRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<CreateBackupRequest>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBackup()
Required. A backup resource
.google.cloud.netapp.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
Backup |
The backup.
|
getBackupId()
publicStringgetBackupId()
Required. The ID to use for the backup.
The ID must be unique within the specified backupVault.
Must contain only letters, numbers, underscore and hyphen, with the first
character a letter or underscore, the last a letter or underscore or a
number, and a 63 character maximum.
string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The backupId.
|
getBackupIdBytes()
publicByteStringgetBackupIdBytes()
Required. The ID to use for the backup.
The ID must be unique within the specified backupVault.
Must contain only letters, numbers, underscore and hyphen, with the first
character a letter or underscore, the last a letter or underscore or a
number, and a 63 character maximum.
string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for backupId.
|
getBackupOrBuilder()
publicBackupOrBuildergetBackupOrBuilder()
Required. A backup resource
.google.cloud.netapp.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
publicCreateBackupRequestgetDefaultInstanceForType()
getParent()
Required. The NetApp backupVault to create the backups of, in the format
projects/*/locations/*/backupVaults/{backup_vault_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The parent.
|
getParentBytes()
publicByteStringgetParentBytes()
Required. The NetApp backupVault to create the backups of, in the format
projects/*/locations/*/backupVaults/{backup_vault_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for parent.
|
getParserForType()
publicParser<CreateBackupRequest>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasBackup()
Required. A backup resource
.google.cloud.netapp.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the backup field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicCreateBackupRequest.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedCreateBackupRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicCreateBackupRequest.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides