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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ImportJob
build()
ImportJob
buildPartial()
ImportJob.Builder
clear()
ImportJob.Builder
clearAssetSource()
Required.ImportJob.Builder
clearCompleteTime()
Output only.ImportJob.Builder
clearCreateTime()
Output only.ImportJob.Builder
clearDisplayName()
User-friendly display name.ImportJob.Builder
clearExecutionReport()
Output only.ImportJob.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ImportJob.Builder
clearLabels()
ImportJob.Builder
clearName()
Output only.ImportJob.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ImportJob.Builder
clearReport()
ImportJob.Builder
clearState()
Output only.ImportJob.Builder
clearUpdateTime()
Output only.ImportJob.Builder
clearValidationReport()
Output only.ImportJob.Builder
clone()
boolean
containsLabels(String key)
Labels as key value pairs.String
getAssetSource()
Required.com.google.protobuf.ByteString
getAssetSourceBytes()
Required.com.google.protobuf.Timestamp
getCompleteTime()
Output only.com.google.protobuf.Timestamp.Builder
getCompleteTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCompleteTimeOrBuilder()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.ImportJob
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
User-friendly display name.com.google.protobuf.ByteString
getDisplayNameBytes()
User-friendly display name.ExecutionReport
getExecutionReport()
Output only.ExecutionReport.Builder
getExecutionReportBuilder()
Output only.ExecutionReportOrBuilder
getExecutionReportOrBuilder()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels as key value pairs.Map<String,String>
getLabelsMap()
Labels as key value pairs.String
getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.String
getLabelsOrThrow(String key)
Labels as key value pairs.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.ImportJob.ReportCase
getReportCase()
ImportJob.ImportJobState
getState()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.ValidationReport
getValidationReport()
Output only.ValidationReport.Builder
getValidationReportBuilder()
Output only.ValidationReportOrBuilder
getValidationReportOrBuilder()
Output only.boolean
hasCompleteTime()
Output only.boolean
hasCreateTime()
Output only.boolean
hasExecutionReport()
Output only.boolean
hasUpdateTime()
Output only.boolean
hasValidationReport()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
ImportJob.Builder
mergeCompleteTime(com.google.protobuf.Timestamp value)
Output only.ImportJob.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.ImportJob.Builder
mergeExecutionReport(ExecutionReport value)
Output only.ImportJob.Builder
mergeFrom(ImportJob other)
ImportJob.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ImportJob.Builder
mergeFrom(com.google.protobuf.Message other)
ImportJob.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ImportJob.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.ImportJob.Builder
mergeValidationReport(ValidationReport value)
Output only.ImportJob.Builder
putAllLabels(Map<String,String> values)
Labels as key value pairs.ImportJob.Builder
putLabels(String key, String value)
Labels as key value pairs.ImportJob.Builder
removeLabels(String key)
Labels as key value pairs.ImportJob.Builder
setAssetSource(String value)
Required.ImportJob.Builder
setAssetSourceBytes(com.google.protobuf.ByteString value)
Required.ImportJob.Builder
setCompleteTime(com.google.protobuf.Timestamp value)
Output only.ImportJob.Builder
setCompleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.ImportJob.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.ImportJob.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.ImportJob.Builder
setDisplayName(String value)
User-friendly display name.ImportJob.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
User-friendly display name.ImportJob.Builder
setExecutionReport(ExecutionReport value)
Output only.ImportJob.Builder
setExecutionReport(ExecutionReport.Builder builderForValue)
Output only.ImportJob.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ImportJob.Builder
setName(String value)
Output only.ImportJob.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.ImportJob.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ImportJob.Builder
setState(ImportJob.ImportJobState value)
Output only.ImportJob.Builder
setStateValue(int value)
Output only.ImportJob.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ImportJob.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.ImportJob.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.ImportJob.Builder
setValidationReport(ValidationReport value)
Output only.ImportJob.Builder
setValidationReport(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
clear
public ImportJob.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
getDefaultInstanceForType
public ImportJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ImportJob build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ImportJob buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ImportJob.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
setField
public ImportJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
clearField
public ImportJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
clearOneof
public ImportJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
setRepeatedField
public ImportJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
addRepeatedField
public ImportJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
mergeFrom
public ImportJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ImportJob.Builder>
-
mergeFrom
public ImportJob.Builder mergeFrom(ImportJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ImportJob.Builder>
- Throws:
IOException
-
getReportCase
public ImportJob.ReportCase getReportCase()
- Specified by:
getReportCase
in 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:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
hasCompleteTime
in 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:
getCompleteTime
in 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:
getCompleteTimeOrBuilder
in 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:
getStateValue
in 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:
getState
in 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:ImportJobOrBuilder
Labels as key value pairs.
map<string, string> labels = 7;
- Specified by:
getLabelsCount
in interfaceImportJobOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 7;
- Specified by:
containsLabels
in interfaceImportJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceImportJobOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 7;
- Specified by:
getLabelsMap
in interfaceImportJobOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 7;
- Specified by:
getLabelsOrDefault
in interfaceImportJobOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 7;
- Specified by:
getLabelsOrThrow
in 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:
getAssetSource
in 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:
getAssetSourceBytes
in 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:
hasValidationReport
in 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:
getValidationReport
in 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:
getValidationReportOrBuilder
in 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:
hasExecutionReport
in 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:
getExecutionReport
in 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:
getExecutionReportOrBuilder
in interfaceImportJobOrBuilder
-
setUnknownFields
public final ImportJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
mergeUnknownFields
public final ImportJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportJob.Builder>
-
-