- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.49.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class ImportDataFile.Builder extends GeneratedMessageV3.Builder<ImportDataFile.Builder> implements ImportDataFileOrBuilderA resource that represents a payload file in an import job.
Protobuf type google.cloud.migrationcenter.v1.ImportDataFile
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportDataFile.BuilderImplements
ImportDataFileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportDataFile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
build()
public ImportDataFile build()| Returns | |
|---|---|
| Type | Description |
ImportDataFile |
|
buildPartial()
public ImportDataFile buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportDataFile |
|
clear()
public ImportDataFile.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
clearCreateTime()
public ImportDataFile.Builder clearCreateTime()Output only. The timestamp when the file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
clearDisplayName()
public ImportDataFile.Builder clearDisplayName()User-friendly display name. Maximum length is 63 characters.
string display_name = 6;
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ImportDataFile.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
clearFileInfo()
public ImportDataFile.Builder clearFileInfo()| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
clearFormat()
public ImportDataFile.Builder clearFormat()Required. The payload format.
.google.cloud.migrationcenter.v1.ImportJobFormat format = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
clearName()
public ImportDataFile.Builder clearName()Output only. The name of the file.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportDataFile.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
clearState()
public ImportDataFile.Builder clearState()Output only. The state of the import data file.
.google.cloud.migrationcenter.v1.ImportDataFile.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
clearUploadFileInfo()
public ImportDataFile.Builder clearUploadFileInfo()Information about a file that is uploaded to a storage service.
.google.cloud.migrationcenter.v1.UploadFileInfo upload_file_info = 5;
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
clone()
public ImportDataFile.Builder clone()| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. The timestamp when the file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp when the file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp when the file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public ImportDataFile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportDataFile |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()User-friendly display name. Maximum length is 63 characters.
string display_name = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()User-friendly display name. Maximum length is 63 characters.
string display_name = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getFileInfoCase()
public ImportDataFile.FileInfoCase getFileInfoCase()| Returns | |
|---|---|
| Type | Description |
ImportDataFile.FileInfoCase |
|
getFormat()
public ImportJobFormat getFormat()Required. The payload format.
.google.cloud.migrationcenter.v1.ImportJobFormat format = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportJobFormat |
The format. |
getFormatValue()
public int getFormatValue()Required. The payload format.
.google.cloud.migrationcenter.v1.ImportJobFormat format = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for format. |
getName()
public String getName()Output only. The name of the file.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. The name of the file.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getState()
public ImportDataFile.State getState()Output only. The state of the import data file.
.google.cloud.migrationcenter.v1.ImportDataFile.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.State |
The state. |
getStateValue()
public int getStateValue()Output only. The state of the import data file.
.google.cloud.migrationcenter.v1.ImportDataFile.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUploadFileInfo()
public UploadFileInfo getUploadFileInfo()Information about a file that is uploaded to a storage service.
.google.cloud.migrationcenter.v1.UploadFileInfo upload_file_info = 5;
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo |
The uploadFileInfo. |
getUploadFileInfoBuilder()
public UploadFileInfo.Builder getUploadFileInfoBuilder()Information about a file that is uploaded to a storage service.
.google.cloud.migrationcenter.v1.UploadFileInfo upload_file_info = 5;
| Returns | |
|---|---|
| Type | Description |
UploadFileInfo.Builder |
|
getUploadFileInfoOrBuilder()
public UploadFileInfoOrBuilder getUploadFileInfoOrBuilder()Information about a file that is uploaded to a storage service.
.google.cloud.migrationcenter.v1.UploadFileInfo upload_file_info = 5;
| Returns | |
|---|---|
| Type | Description |
UploadFileInfoOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. The timestamp when the file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUploadFileInfo()
public boolean hasUploadFileInfo()Information about a file that is uploaded to a storage service.
.google.cloud.migrationcenter.v1.UploadFileInfo upload_file_info = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the uploadFileInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public ImportDataFile.Builder mergeCreateTime(Timestamp value)Output only. The timestamp when the file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
mergeFrom(ImportDataFile other)
public ImportDataFile.Builder mergeFrom(ImportDataFile other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportDataFile |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportDataFile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportDataFile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDataFile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
mergeUploadFileInfo(UploadFileInfo value)
public ImportDataFile.Builder mergeUploadFileInfo(UploadFileInfo value)Information about a file that is uploaded to a storage service.
.google.cloud.migrationcenter.v1.UploadFileInfo upload_file_info = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
UploadFileInfo |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
setCreateTime(Timestamp value)
public ImportDataFile.Builder setCreateTime(Timestamp value)Output only. The timestamp when the file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public ImportDataFile.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The timestamp when the file was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
setDisplayName(String value)
public ImportDataFile.Builder setDisplayName(String value)User-friendly display name. Maximum length is 63 characters.
string display_name = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ImportDataFile.Builder setDisplayNameBytes(ByteString value)User-friendly display name. Maximum length is 63 characters.
string display_name = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ImportDataFile.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
setFormat(ImportJobFormat value)
public ImportDataFile.Builder setFormat(ImportJobFormat value)Required. The payload format.
.google.cloud.migrationcenter.v1.ImportJobFormat format = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ImportJobFormatThe format to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
setFormatValue(int value)
public ImportDataFile.Builder setFormatValue(int value)Required. The payload format.
.google.cloud.migrationcenter.v1.ImportJobFormat format = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for format to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
setName(String value)
public ImportDataFile.Builder setName(String value)Output only. The name of the file.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ImportDataFile.Builder setNameBytes(ByteString value)Output only. The name of the file.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportDataFile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
setState(ImportDataFile.State value)
public ImportDataFile.Builder setState(ImportDataFile.State value)Output only. The state of the import data file.
.google.cloud.migrationcenter.v1.ImportDataFile.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ImportDataFile.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
setStateValue(int value)
public ImportDataFile.Builder setStateValue(int value)Output only. The state of the import data file.
.google.cloud.migrationcenter.v1.ImportDataFile.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDataFile.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
setUploadFileInfo(UploadFileInfo value)
public ImportDataFile.Builder setUploadFileInfo(UploadFileInfo value)Information about a file that is uploaded to a storage service.
.google.cloud.migrationcenter.v1.UploadFileInfo upload_file_info = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
UploadFileInfo |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|
setUploadFileInfo(UploadFileInfo.Builder builderForValue)
public ImportDataFile.Builder setUploadFileInfo(UploadFileInfo.Builder builderForValue)Information about a file that is uploaded to a storage service.
.google.cloud.migrationcenter.v1.UploadFileInfo upload_file_info = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UploadFileInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportDataFile.Builder |
|