Class ExportDataRequest.Builder (0.2.0)

public static final class ExportDataRequest.Builder extends GeneratedMessageV3.Builder<ExportDataRequest.Builder> implements ExportDataRequestOrBuilder

Message for exporting data from Lustre.

Protobuf type google.cloud.lustre.v1.ExportDataRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportDataRequest build()
Returns
Type Description
ExportDataRequest

buildPartial()

public ExportDataRequest buildPartial()
Returns
Type Description
ExportDataRequest

clear()

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

clearDestination()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcsPath()

public ExportDataRequest.Builder clearGcsPath()

Cloud Storage destination.

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

Returns
Type Description
ExportDataRequest.Builder

clearLustrePath()

public ExportDataRequest.Builder clearLustrePath()

Lustre path source.

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

Returns
Type Description
ExportDataRequest.Builder

clearName()

public ExportDataRequest.Builder clearName()

Required. Name of the resource.

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

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public ExportDataRequest.Builder clearRequestId()

Optional. UUID to identify requests.

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

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

clearServiceAccount()

public ExportDataRequest.Builder clearServiceAccount()

Optional. User-specified service account used to perform the transfer. If unspecified, the Managed Lustre service agent is used.

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

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

clearSource()

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

clone()

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

getDefaultInstanceForType()

public ExportDataRequest getDefaultInstanceForType()
Returns
Type Description
ExportDataRequest

getDescriptorForType()

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

getDestinationCase()

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

getGcsPath()

public GcsPath getGcsPath()

Cloud Storage destination.

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

Returns
Type Description
GcsPath

The gcsPath.

getGcsPathBuilder()

public GcsPath.Builder getGcsPathBuilder()

Cloud Storage destination.

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

Returns
Type Description
GcsPath.Builder

getGcsPathOrBuilder()

public GcsPathOrBuilder getGcsPathOrBuilder()

Cloud Storage destination.

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

Returns
Type Description
GcsPathOrBuilder

getLustrePath()

public LustrePath getLustrePath()

Lustre path source.

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

Returns
Type Description
LustrePath

The lustrePath.

getLustrePathBuilder()

public LustrePath.Builder getLustrePathBuilder()

Lustre path source.

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

Returns
Type Description
LustrePath.Builder

getLustrePathOrBuilder()

public LustrePathOrBuilder getLustrePathOrBuilder()

Lustre path source.

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

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 Managed Lustre service agent is 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 Managed Lustre service agent is used.

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

Returns
Type Description
ByteString

The bytes for serviceAccount.

getSourceCase()

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

hasGcsPath()

public boolean hasGcsPath()

Cloud Storage destination.

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

Returns
Type Description
boolean

Whether the gcsPath field is set.

hasLustrePath()

public boolean hasLustrePath()

Lustre path source.

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

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(ExportDataRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsPath(GcsPath value)

public ExportDataRequest.Builder mergeGcsPath(GcsPath value)

Cloud Storage destination.

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

Parameter
Name Description
value GcsPath
Returns
Type Description
ExportDataRequest.Builder

mergeLustrePath(LustrePath value)

public ExportDataRequest.Builder mergeLustrePath(LustrePath value)

Lustre path source.

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

Parameter
Name Description
value LustrePath
Returns
Type Description
ExportDataRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsPath(GcsPath value)

public ExportDataRequest.Builder setGcsPath(GcsPath value)

Cloud Storage destination.

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

Parameter
Name Description
value GcsPath
Returns
Type Description
ExportDataRequest.Builder

setGcsPath(GcsPath.Builder builderForValue)

public ExportDataRequest.Builder setGcsPath(GcsPath.Builder builderForValue)

Cloud Storage destination.

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

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

setLustrePath(LustrePath value)

public ExportDataRequest.Builder setLustrePath(LustrePath value)

Lustre path source.

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

Parameter
Name Description
value LustrePath
Returns
Type Description
ExportDataRequest.Builder

setLustrePath(LustrePath.Builder builderForValue)

public ExportDataRequest.Builder setLustrePath(LustrePath.Builder builderForValue)

Lustre path source.

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

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

setName(String value)

public ExportDataRequest.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
ExportDataRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExportDataRequest.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
ExportDataRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

public ExportDataRequest.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
ExportDataRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public ExportDataRequest.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
ExportDataRequest.Builder

This builder for chaining.

setServiceAccount(String value)

public ExportDataRequest.Builder setServiceAccount(String value)

Optional. User-specified service account used to perform the transfer. If unspecified, the Managed Lustre service agent is 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
ExportDataRequest.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public ExportDataRequest.Builder setServiceAccountBytes(ByteString value)

Optional. User-specified service account used to perform the transfer. If unspecified, the Managed Lustre service agent is 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
ExportDataRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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