- 1.56.0 (latest)
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.2.0
public static final class RestoreInstanceRequest.Builder extends GeneratedMessageV3.Builder<RestoreInstanceRequest.Builder> implements RestoreInstanceRequestOrBuilder
RestoreInstanceRequest restores an existing instance's file share from a backup.
Protobuf type google.cloud.filestore.v1beta1.RestoreInstanceRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RestoreInstanceRequest.BuilderImplements
RestoreInstanceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
build()
public RestoreInstanceRequest build()
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest |
buildPartial()
public RestoreInstanceRequest buildPartial()
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest |
clear()
public RestoreInstanceRequest.Builder clear()
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public RestoreInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
clearFileShare()
public RestoreInstanceRequest.Builder clearFileShare()
Required. Name of the file share in the Filestore instance that the backup is being restored to.
string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
clearName()
public RestoreInstanceRequest.Builder clearName()
Required. The resource name of the instance, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
clearSource()
public RestoreInstanceRequest.Builder clearSource()
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
clearSourceBackup()
public RestoreInstanceRequest.Builder clearSourceBackup()
The resource name of the backup, in the format
projects/{project_id}/locations/{location_id}/backups/{backup_id}
.
string source_backup = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
clearSourceSnapshot() (deprecated)
public RestoreInstanceRequest.Builder clearSourceSnapshot()
Deprecated. google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=765
The resource name of the snapshot, in the format
projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}
.
string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
clone()
public RestoreInstanceRequest.Builder clone()
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
getDefaultInstanceForType()
public RestoreInstanceRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFileShare()
public String getFileShare()
Required. Name of the file share in the Filestore instance that the backup is being restored to.
string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The fileShare. |
getFileShareBytes()
public ByteString getFileShareBytes()
Required. Name of the file share in the Filestore instance that the backup is being restored to.
string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for fileShare. |
getName()
public String getName()
Required. The resource name of the instance, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}
.
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 instance, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getSourceBackup()
public String getSourceBackup()
The resource name of the backup, in the format
projects/{project_id}/locations/{location_id}/backups/{backup_id}
.
string source_backup = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The sourceBackup. |
getSourceBackupBytes()
public ByteString getSourceBackupBytes()
The resource name of the backup, in the format
projects/{project_id}/locations/{location_id}/backups/{backup_id}
.
string source_backup = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sourceBackup. |
getSourceCase()
public RestoreInstanceRequest.SourceCase getSourceCase()
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.SourceCase |
getSourceSnapshot() (deprecated)
public String getSourceSnapshot()
Deprecated. google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=765
The resource name of the snapshot, in the format
projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}
.
string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The sourceSnapshot. |
getSourceSnapshotBytes() (deprecated)
public ByteString getSourceSnapshotBytes()
Deprecated. google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=765
The resource name of the snapshot, in the format
projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}
.
string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sourceSnapshot. |
hasSourceBackup()
public boolean hasSourceBackup()
The resource name of the backup, in the format
projects/{project_id}/locations/{location_id}/backups/{backup_id}
.
string source_backup = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
boolean | Whether the sourceBackup field is set. |
hasSourceSnapshot() (deprecated)
public boolean hasSourceSnapshot()
Deprecated. google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=765
The resource name of the snapshot, in the format
projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}
.
string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
boolean | Whether the sourceSnapshot field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RestoreInstanceRequest other)
public RestoreInstanceRequest.Builder mergeFrom(RestoreInstanceRequest other)
Parameter | |
---|---|
Name | Description |
other | RestoreInstanceRequest |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RestoreInstanceRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
setFileShare(String value)
public RestoreInstanceRequest.Builder setFileShare(String value)
Required. Name of the file share in the Filestore instance that the backup is being restored to.
string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The fileShare to set. |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
setFileShareBytes(ByteString value)
public RestoreInstanceRequest.Builder setFileShareBytes(ByteString value)
Required. Name of the file share in the Filestore instance that the backup is being restored to.
string file_share = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for fileShare to set. |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
setName(String value)
public RestoreInstanceRequest.Builder setName(String value)
Required. The resource name of the instance, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public RestoreInstanceRequest.Builder setNameBytes(ByteString value)
Required. The resource name of the instance, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |
setSourceBackup(String value)
public RestoreInstanceRequest.Builder setSourceBackup(String value)
The resource name of the backup, in the format
projects/{project_id}/locations/{location_id}/backups/{backup_id}
.
string source_backup = 4 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The sourceBackup to set. |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
setSourceBackupBytes(ByteString value)
public RestoreInstanceRequest.Builder setSourceBackupBytes(ByteString value)
The resource name of the backup, in the format
projects/{project_id}/locations/{location_id}/backups/{backup_id}
.
string source_backup = 4 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for sourceBackup to set. |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
setSourceSnapshot(String value) (deprecated)
public RestoreInstanceRequest.Builder setSourceSnapshot(String value)
Deprecated. google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=765
The resource name of the snapshot, in the format
projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}
.
string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The sourceSnapshot to set. |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
setSourceSnapshotBytes(ByteString value) (deprecated)
public RestoreInstanceRequest.Builder setSourceSnapshotBytes(ByteString value)
Deprecated. google.cloud.filestore.v1beta1.RestoreInstanceRequest.source_snapshot is deprecated. See google/cloud/filestore/v1beta1/cloud_filestore_service.proto;l=765
The resource name of the snapshot, in the format
projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}
.
string source_snapshot = 3 [deprecated = true, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for sourceSnapshot to set. |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RestoreInstanceRequest.Builder |