Class ImportDataRequest.Builder (0.2.0)

public static final class ImportDataRequest.Builder extends GeneratedMessageV3.Builder<ImportDataRequest.Builder> implements ImportDataRequestOrBuilder

Message for importing data to Lustre.

Protobuf type google.cloud.lustre.v1.ImportDataRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDataRequest.Builder
Overrides

build()

public ImportDataRequest build()
Returns
Type Description
ImportDataRequest

buildPartial()

public ImportDataRequest buildPartial()
Returns
Type Description
ImportDataRequest

clear()

public ImportDataRequest.Builder clear()
Returns
Type Description
ImportDataRequest.Builder
Overrides

clearDestination()

public ImportDataRequest.Builder clearDestination()
Returns
Type Description
ImportDataRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportDataRequest.Builder
Overrides

clearGcsPath()

public ImportDataRequest.Builder clearGcsPath()

The Cloud Storage source bucket and, optionally, path inside the bucket.

.google.cloud.lustre.v1.GcsPath gcs_path = 2;

Returns
Type Description
ImportDataRequest.Builder

clearLustrePath()

public ImportDataRequest.Builder clearLustrePath()

Lustre path destination.

.google.cloud.lustre.v1.LustrePath lustre_path = 3;

Returns
Type Description
ImportDataRequest.Builder

clearName()

public ImportDataRequest.Builder clearName()

Required. Name of the resource.

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

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportDataRequest.Builder
Overrides

clearRequestId()

public ImportDataRequest.Builder clearRequestId()

Optional. UUID to identify requests.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

clearServiceAccount()

public ImportDataRequest.Builder clearServiceAccount()

Optional. User-specified service account used to perform the transfer. If unspecified, the default Lustre P4 service account will be used.

string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

clearSource()

public ImportDataRequest.Builder clearSource()
Returns
Type Description
ImportDataRequest.Builder

clone()

public ImportDataRequest.Builder clone()
Returns
Type Description
ImportDataRequest.Builder
Overrides

getDefaultInstanceForType()

public ImportDataRequest getDefaultInstanceForType()
Returns
Type Description
ImportDataRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestinationCase()

public ImportDataRequest.DestinationCase getDestinationCase()
Returns
Type Description
ImportDataRequest.DestinationCase

getGcsPath()

public GcsPath getGcsPath()

The Cloud Storage source bucket and, optionally, path inside the bucket.

.google.cloud.lustre.v1.GcsPath gcs_path = 2;

Returns
Type Description
GcsPath

The gcsPath.

getGcsPathBuilder()

public GcsPath.Builder getGcsPathBuilder()

The Cloud Storage source bucket and, optionally, path inside the bucket.

.google.cloud.lustre.v1.GcsPath gcs_path = 2;

Returns
Type Description
GcsPath.Builder

getGcsPathOrBuilder()

public GcsPathOrBuilder getGcsPathOrBuilder()

The Cloud Storage source bucket and, optionally, path inside the bucket.

.google.cloud.lustre.v1.GcsPath gcs_path = 2;

Returns
Type Description
GcsPathOrBuilder

getLustrePath()

public LustrePath getLustrePath()

Lustre path destination.

.google.cloud.lustre.v1.LustrePath lustre_path = 3;

Returns
Type Description
LustrePath

The lustrePath.

getLustrePathBuilder()

public LustrePath.Builder getLustrePathBuilder()

Lustre path destination.

.google.cloud.lustre.v1.LustrePath lustre_path = 3;

Returns
Type Description
LustrePath.Builder

getLustrePathOrBuilder()

public LustrePathOrBuilder getLustrePathOrBuilder()

Lustre path destination.

.google.cloud.lustre.v1.LustrePath lustre_path = 3;

Returns
Type Description
LustrePathOrBuilder

getName()

public String getName()

Required. Name of the resource.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the resource.

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

Returns
Type Description
ByteString

The bytes for name.

getRequestId()

public String getRequestId()

Optional. UUID to identify requests.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. UUID to identify requests.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

getServiceAccount()

public String getServiceAccount()

Optional. User-specified service account used to perform the transfer. If unspecified, the default Lustre P4 service account will be used.

string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

Optional. User-specified service account used to perform the transfer. If unspecified, the default Lustre P4 service account will be used.

string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for serviceAccount.

getSourceCase()

public ImportDataRequest.SourceCase getSourceCase()
Returns
Type Description
ImportDataRequest.SourceCase

hasGcsPath()

public boolean hasGcsPath()

The Cloud Storage source bucket and, optionally, path inside the bucket.

.google.cloud.lustre.v1.GcsPath gcs_path = 2;

Returns
Type Description
boolean

Whether the gcsPath field is set.

hasLustrePath()

public boolean hasLustrePath()

Lustre path destination.

.google.cloud.lustre.v1.LustrePath lustre_path = 3;

Returns
Type Description
boolean

Whether the lustrePath field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportDataRequest other)

public ImportDataRequest.Builder mergeFrom(ImportDataRequest other)
Parameter
Name Description
other ImportDataRequest
Returns
Type Description
ImportDataRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportDataRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportDataRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportDataRequest.Builder
Overrides

mergeGcsPath(GcsPath value)

public ImportDataRequest.Builder mergeGcsPath(GcsPath value)

The Cloud Storage source bucket and, optionally, path inside the bucket.

.google.cloud.lustre.v1.GcsPath gcs_path = 2;

Parameter
Name Description
value GcsPath
Returns
Type Description
ImportDataRequest.Builder

mergeLustrePath(LustrePath value)

public ImportDataRequest.Builder mergeLustrePath(LustrePath value)

Lustre path destination.

.google.cloud.lustre.v1.LustrePath lustre_path = 3;

Parameter
Name Description
value LustrePath
Returns
Type Description
ImportDataRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDataRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDataRequest.Builder
Overrides

setGcsPath(GcsPath value)

public ImportDataRequest.Builder setGcsPath(GcsPath value)

The Cloud Storage source bucket and, optionally, path inside the bucket.

.google.cloud.lustre.v1.GcsPath gcs_path = 2;

Parameter
Name Description
value GcsPath
Returns
Type Description
ImportDataRequest.Builder

setGcsPath(GcsPath.Builder builderForValue)

public ImportDataRequest.Builder setGcsPath(GcsPath.Builder builderForValue)

The Cloud Storage source bucket and, optionally, path inside the bucket.

.google.cloud.lustre.v1.GcsPath gcs_path = 2;

Parameter
Name Description
builderForValue GcsPath.Builder
Returns
Type Description
ImportDataRequest.Builder

setLustrePath(LustrePath value)

public ImportDataRequest.Builder setLustrePath(LustrePath value)

Lustre path destination.

.google.cloud.lustre.v1.LustrePath lustre_path = 3;

Parameter
Name Description
value LustrePath
Returns
Type Description
ImportDataRequest.Builder

setLustrePath(LustrePath.Builder builderForValue)

public ImportDataRequest.Builder setLustrePath(LustrePath.Builder builderForValue)

Lustre path destination.

.google.cloud.lustre.v1.LustrePath lustre_path = 3;

Parameter
Name Description
builderForValue LustrePath.Builder
Returns
Type Description
ImportDataRequest.Builder

setName(String value)

public ImportDataRequest.Builder setName(String value)

Required. Name of the resource.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ImportDataRequest.Builder setNameBytes(ByteString value)

Required. Name of the resource.

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
ImportDataRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportDataRequest.Builder
Overrides

setRequestId(String value)

public ImportDataRequest.Builder setRequestId(String value)

Optional. UUID to identify requests.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public ImportDataRequest.Builder setRequestIdBytes(ByteString value)

Optional. UUID to identify requests.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setServiceAccount(String value)

public ImportDataRequest.Builder setServiceAccount(String value)

Optional. User-specified service account used to perform the transfer. If unspecified, the default Lustre P4 service account will be used.

string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The serviceAccount to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public ImportDataRequest.Builder setServiceAccountBytes(ByteString value)

Optional. User-specified service account used to perform the transfer. If unspecified, the default Lustre P4 service account will be used.

string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDataRequest.Builder
Overrides