Package com.google.cloud.lustre.v1
Class ImportDataRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportDataRequest.Builder>
com.google.cloud.lustre.v1.ImportDataRequest.Builder
- All Implemented Interfaces:
ImportDataRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportDataRequest
public static final class ImportDataRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ImportDataRequest.Builder>
implements ImportDataRequestOrBuilder
Message for importing data to Lustre.Protobuf type
google.cloud.lustre.v1.ImportDataRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The Cloud Storage source bucket and, optionally, path inside the bucket.Lustre path destination.Required.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe Cloud Storage source bucket and, optionally, path inside the bucket.The Cloud Storage source bucket and, optionally, path inside the bucket.The Cloud Storage source bucket and, optionally, path inside the bucket.Lustre path destination.Lustre path destination.Lustre path destination.getName()Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.booleanThe Cloud Storage source bucket and, optionally, path inside the bucket.booleanLustre path destination.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ImportDataRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGcsPath(GcsPath value) The Cloud Storage source bucket and, optionally, path inside the bucket.mergeLustrePath(LustrePath value) Lustre path destination.setGcsPath(GcsPath value) The Cloud Storage source bucket and, optionally, path inside the bucket.setGcsPath(GcsPath.Builder builderForValue) The Cloud Storage source bucket and, optionally, path inside the bucket.setLustrePath(LustrePath value) Lustre path destination.setLustrePath(LustrePath.Builder builderForValue) Lustre path destination.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setRequestId(String value) Optional.setRequestIdBytes(com.google.protobuf.ByteString value) Optional.setServiceAccount(String value) Optional.setServiceAccountBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportDataRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportDataRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ImportDataRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportDataRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImportDataRequest.Builder>
-
mergeFrom
public ImportDataRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportDataRequest.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceImportDataRequestOrBuilder
-
clearSource
-
getDestinationCase
- Specified by:
getDestinationCasein interfaceImportDataRequestOrBuilder
-
clearDestination
-
hasGcsPath
public boolean hasGcsPath()The Cloud Storage source bucket and, optionally, path inside the bucket. If a path inside the bucket is specified, it must end with a forward slash (`/`).
.google.cloud.lustre.v1.GcsPath gcs_path = 2;- Specified by:
hasGcsPathin interfaceImportDataRequestOrBuilder- Returns:
- Whether the gcsPath field is set.
-
getGcsPath
The Cloud Storage source bucket and, optionally, path inside the bucket. If a path inside the bucket is specified, it must end with a forward slash (`/`).
.google.cloud.lustre.v1.GcsPath gcs_path = 2;- Specified by:
getGcsPathin interfaceImportDataRequestOrBuilder- Returns:
- The gcsPath.
-
setGcsPath
The Cloud Storage source bucket and, optionally, path inside the bucket. If a path inside the bucket is specified, it must end with a forward slash (`/`).
.google.cloud.lustre.v1.GcsPath gcs_path = 2; -
setGcsPath
The Cloud Storage source bucket and, optionally, path inside the bucket. If a path inside the bucket is specified, it must end with a forward slash (`/`).
.google.cloud.lustre.v1.GcsPath gcs_path = 2; -
mergeGcsPath
The Cloud Storage source bucket and, optionally, path inside the bucket. If a path inside the bucket is specified, it must end with a forward slash (`/`).
.google.cloud.lustre.v1.GcsPath gcs_path = 2; -
clearGcsPath
The Cloud Storage source bucket and, optionally, path inside the bucket. If a path inside the bucket is specified, it must end with a forward slash (`/`).
.google.cloud.lustre.v1.GcsPath gcs_path = 2; -
getGcsPathBuilder
The Cloud Storage source bucket and, optionally, path inside the bucket. If a path inside the bucket is specified, it must end with a forward slash (`/`).
.google.cloud.lustre.v1.GcsPath gcs_path = 2; -
getGcsPathOrBuilder
The Cloud Storage source bucket and, optionally, path inside the bucket. If a path inside the bucket is specified, it must end with a forward slash (`/`).
.google.cloud.lustre.v1.GcsPath gcs_path = 2;- Specified by:
getGcsPathOrBuilderin interfaceImportDataRequestOrBuilder
-
hasLustrePath
public boolean hasLustrePath()Lustre path destination.
.google.cloud.lustre.v1.LustrePath lustre_path = 3;- Specified by:
hasLustrePathin interfaceImportDataRequestOrBuilder- Returns:
- Whether the lustrePath field is set.
-
getLustrePath
Lustre path destination.
.google.cloud.lustre.v1.LustrePath lustre_path = 3;- Specified by:
getLustrePathin interfaceImportDataRequestOrBuilder- Returns:
- The lustrePath.
-
setLustrePath
Lustre path destination.
.google.cloud.lustre.v1.LustrePath lustre_path = 3; -
setLustrePath
Lustre path destination.
.google.cloud.lustre.v1.LustrePath lustre_path = 3; -
mergeLustrePath
Lustre path destination.
.google.cloud.lustre.v1.LustrePath lustre_path = 3; -
clearLustrePath
Lustre path destination.
.google.cloud.lustre.v1.LustrePath lustre_path = 3; -
getLustrePathBuilder
Lustre path destination.
.google.cloud.lustre.v1.LustrePath lustre_path = 3; -
getLustrePathOrBuilder
Lustre path destination.
.google.cloud.lustre.v1.LustrePath lustre_path = 3;- Specified by:
getLustrePathOrBuilderin interfaceImportDataRequestOrBuilder
-
getName
Required. The name of the Managed Lustre instance in the format `projects/{project}/locations/{location}/instances/{instance}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceImportDataRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The name of the Managed Lustre instance in the format `projects/{project}/locations/{location}/instances/{instance}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceImportDataRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The name of the Managed Lustre instance in the format `projects/{project}/locations/{location}/instances/{instance}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The name of the Managed Lustre instance in the format `projects/{project}/locations/{location}/instances/{instance}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
Required. The name of the Managed Lustre instance in the format `projects/{project}/locations/{location}/instances/{instance}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getRequestId
Optional. UUID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Specified by:
getRequestIdin interfaceImportDataRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()Optional. UUID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Specified by:
getRequestIdBytesin interfaceImportDataRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
Optional. UUID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
Optional. UUID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Returns:
- This builder for chaining.
-
setRequestIdBytes
Optional. UUID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
getServiceAccount
Optional. User-specified service account used to perform the transfer. If unspecified, the default Managed Lustre service agent will be used.
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountin interfaceImportDataRequestOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()Optional. User-specified service account used to perform the transfer. If unspecified, the default Managed Lustre service agent will be used.
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getServiceAccountBytesin interfaceImportDataRequestOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
Optional. User-specified service account used to perform the transfer. If unspecified, the default Managed Lustre service agent will be used.
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
Optional. User-specified service account used to perform the transfer. If unspecified, the default Managed Lustre service agent will be used.
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setServiceAccountBytes
Optional. User-specified service account used to perform the transfer. If unspecified, the default Managed Lustre service agent will be used.
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-