public static final class CreateBackupVaultRequest.Builder extends GeneratedMessageV3.Builder<CreateBackupVaultRequest.Builder> implements CreateBackupVaultRequestOrBuilder
CreateBackupVaultRequest creates a backup vault.
Protobuf type google.cloud.netapp.v1.CreateBackupVaultRequest
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 CreateBackupVaultRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateBackupVaultRequest build()
buildPartial()
public CreateBackupVaultRequest buildPartial()
clear()
public CreateBackupVaultRequest.Builder clear()
Overrides
clearBackupVault()
public CreateBackupVaultRequest.Builder clearBackupVault()
Required. A backupVault resource
.google.cloud.netapp.v1.BackupVault backup_vault = 3 [(.google.api.field_behavior) = REQUIRED];
clearBackupVaultId()
public CreateBackupVaultRequest.Builder clearBackupVaultId()
Required. The ID to use for the backupVault.
The ID must be unique within the specified location.
The max supported length is 63 characters.
This value must start with a lowercase letter followed by up to 62
lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Values that do not match this pattern will trigger an INVALID_ARGUMENT
error.
string backup_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateBackupVaultRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateBackupVaultRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateBackupVaultRequest.Builder clearParent()
Required. The location to create the backup vaults, in the format
projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateBackupVaultRequest.Builder clone()
Overrides
getBackupVault()
public BackupVault getBackupVault()
Required. A backupVault resource
.google.cloud.netapp.v1.BackupVault backup_vault = 3 [(.google.api.field_behavior) = REQUIRED];
getBackupVaultBuilder()
public BackupVault.Builder getBackupVaultBuilder()
Required. A backupVault resource
.google.cloud.netapp.v1.BackupVault backup_vault = 3 [(.google.api.field_behavior) = REQUIRED];
getBackupVaultId()
public String getBackupVaultId()
Required. The ID to use for the backupVault.
The ID must be unique within the specified location.
The max supported length is 63 characters.
This value must start with a lowercase letter followed by up to 62
lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Values that do not match this pattern will trigger an INVALID_ARGUMENT
error.
string backup_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The backupVaultId.
|
getBackupVaultIdBytes()
public ByteString getBackupVaultIdBytes()
Required. The ID to use for the backupVault.
The ID must be unique within the specified location.
The max supported length is 63 characters.
This value must start with a lowercase letter followed by up to 62
lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Values that do not match this pattern will trigger an INVALID_ARGUMENT
error.
string backup_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for backupVaultId.
|
getBackupVaultOrBuilder()
public BackupVaultOrBuilder getBackupVaultOrBuilder()
Required. A backupVault resource
.google.cloud.netapp.v1.BackupVault backup_vault = 3 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateBackupVaultRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The location to create the backup vaults, in the format
projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The location to create the backup vaults, in the format
projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasBackupVault()
public boolean hasBackupVault()
Required. A backupVault resource
.google.cloud.netapp.v1.BackupVault backup_vault = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the backupVault field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBackupVault(BackupVault value)
public CreateBackupVaultRequest.Builder mergeBackupVault(BackupVault value)
Required. A backupVault resource
.google.cloud.netapp.v1.BackupVault backup_vault = 3 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateBackupVaultRequest other)
public CreateBackupVaultRequest.Builder mergeFrom(CreateBackupVaultRequest other)
public CreateBackupVaultRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateBackupVaultRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateBackupVaultRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBackupVault(BackupVault value)
public CreateBackupVaultRequest.Builder setBackupVault(BackupVault value)
Required. A backupVault resource
.google.cloud.netapp.v1.BackupVault backup_vault = 3 [(.google.api.field_behavior) = REQUIRED];
setBackupVault(BackupVault.Builder builderForValue)
public CreateBackupVaultRequest.Builder setBackupVault(BackupVault.Builder builderForValue)
Required. A backupVault resource
.google.cloud.netapp.v1.BackupVault backup_vault = 3 [(.google.api.field_behavior) = REQUIRED];
setBackupVaultId(String value)
public CreateBackupVaultRequest.Builder setBackupVaultId(String value)
Required. The ID to use for the backupVault.
The ID must be unique within the specified location.
The max supported length is 63 characters.
This value must start with a lowercase letter followed by up to 62
lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Values that do not match this pattern will trigger an INVALID_ARGUMENT
error.
string backup_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The backupVaultId to set.
|
setBackupVaultIdBytes(ByteString value)
public CreateBackupVaultRequest.Builder setBackupVaultIdBytes(ByteString value)
Required. The ID to use for the backupVault.
The ID must be unique within the specified location.
The max supported length is 63 characters.
This value must start with a lowercase letter followed by up to 62
lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Values that do not match this pattern will trigger an INVALID_ARGUMENT
error.
string backup_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for backupVaultId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateBackupVaultRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateBackupVaultRequest.Builder setParent(String value)
Required. The location to create the backup vaults, in the format
projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateBackupVaultRequest.Builder setParentBytes(ByteString value)
Required. The location to create the backup vaults, in the format
projects/{project_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateBackupVaultRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateBackupVaultRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides