Class ImportJob.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
- com.google.cloud.migrationcenter.v1.ImportJob.Builder
-
- All Implemented Interfaces:
ImportJobOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportJob
public static final class ImportJob.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder> implements ImportJobOrBuilder
A resource that represents the background job that imports asset frames.
Protobuf typegoogle.cloud.migrationcenter.v1.ImportJob
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ImportJob.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImportJobbuild()ImportJobbuildPartial()ImportJob.Builderclear()ImportJob.BuilderclearAssetSource()Required.ImportJob.BuilderclearCompleteTime()Output only.ImportJob.BuilderclearCreateTime()Output only.ImportJob.BuilderclearDisplayName()User-friendly display name.ImportJob.BuilderclearExecutionReport()Output only.ImportJob.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ImportJob.BuilderclearLabels()ImportJob.BuilderclearName()Output only.ImportJob.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ImportJob.BuilderclearReport()ImportJob.BuilderclearState()Output only.ImportJob.BuilderclearUpdateTime()Output only.ImportJob.BuilderclearValidationReport()Output only.ImportJob.Builderclone()booleancontainsLabels(String key)Labels as key value pairs.StringgetAssetSource()Required.com.google.protobuf.ByteStringgetAssetSourceBytes()Required.com.google.protobuf.TimestampgetCompleteTime()Output only.com.google.protobuf.Timestamp.BuildergetCompleteTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCompleteTimeOrBuilder()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.ImportJobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()User-friendly display name.com.google.protobuf.ByteStringgetDisplayNameBytes()User-friendly display name.ExecutionReportgetExecutionReport()Output only.ExecutionReport.BuildergetExecutionReportBuilder()Output only.ExecutionReportOrBuildergetExecutionReportOrBuilder()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels as key value pairs.Map<String,String>getLabelsMap()Labels as key value pairs.StringgetLabelsOrDefault(String key, String defaultValue)Labels as key value pairs.StringgetLabelsOrThrow(String key)Labels as key value pairs.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.ImportJob.ReportCasegetReportCase()ImportJob.ImportJobStategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.ValidationReportgetValidationReport()Output only.ValidationReport.BuildergetValidationReportBuilder()Output only.ValidationReportOrBuildergetValidationReportOrBuilder()Output only.booleanhasCompleteTime()Output only.booleanhasCreateTime()Output only.booleanhasExecutionReport()Output only.booleanhasUpdateTime()Output only.booleanhasValidationReport()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()ImportJob.BuildermergeCompleteTime(com.google.protobuf.Timestamp value)Output only.ImportJob.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.ImportJob.BuildermergeExecutionReport(ExecutionReport value)Output only.ImportJob.BuildermergeFrom(ImportJob other)ImportJob.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ImportJob.BuildermergeFrom(com.google.protobuf.Message other)ImportJob.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ImportJob.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.ImportJob.BuildermergeValidationReport(ValidationReport value)Output only.ImportJob.BuilderputAllLabels(Map<String,String> values)Labels as key value pairs.ImportJob.BuilderputLabels(String key, String value)Labels as key value pairs.ImportJob.BuilderremoveLabels(String key)Labels as key value pairs.ImportJob.BuildersetAssetSource(String value)Required.ImportJob.BuildersetAssetSourceBytes(com.google.protobuf.ByteString value)Required.ImportJob.BuildersetCompleteTime(com.google.protobuf.Timestamp value)Output only.ImportJob.BuildersetCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.ImportJob.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.ImportJob.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.ImportJob.BuildersetDisplayName(String value)User-friendly display name.ImportJob.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)User-friendly display name.ImportJob.BuildersetExecutionReport(ExecutionReport value)Output only.ImportJob.BuildersetExecutionReport(ExecutionReport.Builder builderForValue)Output only.ImportJob.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImportJob.BuildersetName(String value)Output only.ImportJob.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.ImportJob.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ImportJob.BuildersetState(ImportJob.ImportJobState value)Output only.ImportJob.BuildersetStateValue(int value)Output only.ImportJob.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ImportJob.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.ImportJob.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.ImportJob.BuildersetValidationReport(ValidationReport value)Output only.ImportJob.BuildersetValidationReport(ValidationReport.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
clear
public ImportJob.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.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.GeneratedMessageV3.Builder<ImportJob.Builder>
-
getDefaultInstanceForType
public ImportJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ImportJob build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ImportJob buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ImportJob.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
setField
public ImportJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
clearField
public ImportJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
clearOneof
public ImportJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
setRepeatedField
public ImportJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
addRepeatedField
public ImportJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
mergeFrom
public ImportJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportJob.Builder>
-
mergeFrom
public ImportJob.Builder mergeFrom(ImportJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
mergeFrom
public ImportJob.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<ImportJob.Builder>- Throws:
IOException
-
getReportCase
public ImportJob.ReportCase getReportCase()
- Specified by:
getReportCasein interfaceImportJobOrBuilder
-
clearReport
public ImportJob.Builder clearReport()
-
getName
public String getName()
Output only. The full name of the import job.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceImportJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The full name of the import job.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceImportJobOrBuilder- Returns:
- The bytes for name.
-
setName
public ImportJob.Builder setName(String value)
Output only. The full name of the import job.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ImportJob.Builder clearName()
Output only. The full name of the import job.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public ImportJob.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The full name of the import job.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
User-friendly display name. Maximum length is 63 characters.
string display_name = 2;- Specified by:
getDisplayNamein interfaceImportJobOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
User-friendly display name. Maximum length is 63 characters.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceImportJobOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public ImportJob.Builder setDisplayName(String value)
User-friendly display name. Maximum length is 63 characters.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public ImportJob.Builder clearDisplayName()
User-friendly display name. Maximum length is 63 characters.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public ImportJob.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User-friendly display name. Maximum length is 63 characters.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The timestamp when the import job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceImportJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when the import job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceImportJobOrBuilder- Returns:
- The createTime.
-
setCreateTime
public ImportJob.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the import job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public ImportJob.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the import job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public ImportJob.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the import job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public ImportJob.Builder clearCreateTime()
Output only. The timestamp when the import job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp when the import job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when the import job was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceImportJobOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The timestamp when the import job was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceImportJobOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp when the import job was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceImportJobOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public ImportJob.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the import job was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public ImportJob.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the import job was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public ImportJob.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the import job was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public ImportJob.Builder clearUpdateTime()
Output only. The timestamp when the import job was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp when the import job was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the import job was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceImportJobOrBuilder
-
hasCompleteTime
public boolean hasCompleteTime()
Output only. The timestamp when the import job was completed.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCompleteTimein interfaceImportJobOrBuilder- Returns:
- Whether the completeTime field is set.
-
getCompleteTime
public com.google.protobuf.Timestamp getCompleteTime()
Output only. The timestamp when the import job was completed.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompleteTimein interfaceImportJobOrBuilder- Returns:
- The completeTime.
-
setCompleteTime
public ImportJob.Builder setCompleteTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the import job was completed.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCompleteTime
public ImportJob.Builder setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the import job was completed.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCompleteTime
public ImportJob.Builder mergeCompleteTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the import job was completed.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCompleteTime
public ImportJob.Builder clearCompleteTime()
Output only. The timestamp when the import job was completed.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCompleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getCompleteTimeBuilder()
Output only. The timestamp when the import job was completed.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCompleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCompleteTimeOrBuilder()
Output only. The timestamp when the import job was completed.
.google.protobuf.Timestamp complete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompleteTimeOrBuilderin interfaceImportJobOrBuilder
-
getStateValue
public int getStateValue()
Output only. The state of the import job.
.google.cloud.migrationcenter.v1.ImportJob.ImportJobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceImportJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public ImportJob.Builder setStateValue(int value)
Output only. The state of the import job.
.google.cloud.migrationcenter.v1.ImportJob.ImportJobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public ImportJob.ImportJobState getState()
Output only. The state of the import job.
.google.cloud.migrationcenter.v1.ImportJob.ImportJobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceImportJobOrBuilder- Returns:
- The state.
-
setState
public ImportJob.Builder setState(ImportJob.ImportJobState value)
Output only. The state of the import job.
.google.cloud.migrationcenter.v1.ImportJob.ImportJobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public ImportJob.Builder clearState()
Output only. The state of the import job.
.google.cloud.migrationcenter.v1.ImportJob.ImportJobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ImportJobOrBuilderLabels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsCountin interfaceImportJobOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
containsLabelsin interfaceImportJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceImportJobOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsMapin interfaceImportJobOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsOrDefaultin interfaceImportJobOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsOrThrowin interfaceImportJobOrBuilder
-
clearLabels
public ImportJob.Builder clearLabels()
-
removeLabels
public ImportJob.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 7;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public ImportJob.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 7;
-
putAllLabels
public ImportJob.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs.
map<string, string> labels = 7;
-
getAssetSource
public String getAssetSource()
Required. Reference to a source.
string asset_source = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getAssetSourcein interfaceImportJobOrBuilder- Returns:
- The assetSource.
-
getAssetSourceBytes
public com.google.protobuf.ByteString getAssetSourceBytes()
Required. Reference to a source.
string asset_source = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getAssetSourceBytesin interfaceImportJobOrBuilder- Returns:
- The bytes for assetSource.
-
setAssetSource
public ImportJob.Builder setAssetSource(String value)
Required. Reference to a source.
string asset_source = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The assetSource to set.- Returns:
- This builder for chaining.
-
clearAssetSource
public ImportJob.Builder clearAssetSource()
Required. Reference to a source.
string asset_source = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAssetSourceBytes
public ImportJob.Builder setAssetSourceBytes(com.google.protobuf.ByteString value)
Required. Reference to a source.
string asset_source = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for assetSource to set.- Returns:
- This builder for chaining.
-
hasValidationReport
public boolean hasValidationReport()
Output only. The report with the validation results of the import job.
.google.cloud.migrationcenter.v1.ValidationReport validation_report = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasValidationReportin interfaceImportJobOrBuilder- Returns:
- Whether the validationReport field is set.
-
getValidationReport
public ValidationReport getValidationReport()
Output only. The report with the validation results of the import job.
.google.cloud.migrationcenter.v1.ValidationReport validation_report = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getValidationReportin interfaceImportJobOrBuilder- Returns:
- The validationReport.
-
setValidationReport
public ImportJob.Builder setValidationReport(ValidationReport value)
Output only. The report with the validation results of the import job.
.google.cloud.migrationcenter.v1.ValidationReport validation_report = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setValidationReport
public ImportJob.Builder setValidationReport(ValidationReport.Builder builderForValue)
Output only. The report with the validation results of the import job.
.google.cloud.migrationcenter.v1.ValidationReport validation_report = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeValidationReport
public ImportJob.Builder mergeValidationReport(ValidationReport value)
Output only. The report with the validation results of the import job.
.google.cloud.migrationcenter.v1.ValidationReport validation_report = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearValidationReport
public ImportJob.Builder clearValidationReport()
Output only. The report with the validation results of the import job.
.google.cloud.migrationcenter.v1.ValidationReport validation_report = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getValidationReportBuilder
public ValidationReport.Builder getValidationReportBuilder()
Output only. The report with the validation results of the import job.
.google.cloud.migrationcenter.v1.ValidationReport validation_report = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getValidationReportOrBuilder
public ValidationReportOrBuilder getValidationReportOrBuilder()
Output only. The report with the validation results of the import job.
.google.cloud.migrationcenter.v1.ValidationReport validation_report = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getValidationReportOrBuilderin interfaceImportJobOrBuilder
-
hasExecutionReport
public boolean hasExecutionReport()
Output only. The report with the results of running the import job.
.google.cloud.migrationcenter.v1.ExecutionReport execution_report = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasExecutionReportin interfaceImportJobOrBuilder- Returns:
- Whether the executionReport field is set.
-
getExecutionReport
public ExecutionReport getExecutionReport()
Output only. The report with the results of running the import job.
.google.cloud.migrationcenter.v1.ExecutionReport execution_report = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExecutionReportin interfaceImportJobOrBuilder- Returns:
- The executionReport.
-
setExecutionReport
public ImportJob.Builder setExecutionReport(ExecutionReport value)
Output only. The report with the results of running the import job.
.google.cloud.migrationcenter.v1.ExecutionReport execution_report = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setExecutionReport
public ImportJob.Builder setExecutionReport(ExecutionReport.Builder builderForValue)
Output only. The report with the results of running the import job.
.google.cloud.migrationcenter.v1.ExecutionReport execution_report = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeExecutionReport
public ImportJob.Builder mergeExecutionReport(ExecutionReport value)
Output only. The report with the results of running the import job.
.google.cloud.migrationcenter.v1.ExecutionReport execution_report = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearExecutionReport
public ImportJob.Builder clearExecutionReport()
Output only. The report with the results of running the import job.
.google.cloud.migrationcenter.v1.ExecutionReport execution_report = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExecutionReportBuilder
public ExecutionReport.Builder getExecutionReportBuilder()
Output only. The report with the results of running the import job.
.google.cloud.migrationcenter.v1.ExecutionReport execution_report = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExecutionReportOrBuilder
public ExecutionReportOrBuilder getExecutionReportOrBuilder()
Output only. The report with the results of running the import job.
.google.cloud.migrationcenter.v1.ExecutionReport execution_report = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExecutionReportOrBuilderin interfaceImportJobOrBuilder
-
setUnknownFields
public final ImportJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
mergeUnknownFields
public final ImportJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
-