public static final class Source.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder> implements SourceOrBuilder
Source represents an object from which asset information is streamed to Migration Center.Protobuf type
google.cloud.migrationcenter.v1.Source| Modifier and Type | Method and Description |
|---|---|
Source.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Source |
build() |
Source |
buildPartial() |
Source.Builder |
clear() |
Source.Builder |
clearCreateTime()
Output only.
|
Source.Builder |
clearDescription()
Free-text description.
|
Source.Builder |
clearDisplayName()
User-friendly display name.
|
Source.Builder |
clearErrorFrameCount()
Output only.
|
Source.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Source.Builder |
clearManaged()
If `true`, the source is managed by other service(s).
|
Source.Builder |
clearName()
Output only.
|
Source.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Source.Builder |
clearPendingFrameCount()
Output only.
|
Source.Builder |
clearPriority()
The information confidence of the source.
|
Source.Builder |
clearState()
Output only.
|
Source.Builder |
clearType()
Data source type.
|
Source.Builder |
clearUpdateTime()
Output only.
|
Source.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Source |
getDefaultInstanceForType() |
String |
getDescription()
Free-text description.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Free-text description.
|
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.
|
int |
getErrorFrameCount()
Output only.
|
boolean |
getManaged()
If `true`, the source is managed by other service(s).
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
int |
getPendingFrameCount()
Output only.
|
int |
getPriority()
The information confidence of the source.
|
Source.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
Source.SourceType |
getType()
Data source type.
|
int |
getTypeValue()
Data source type.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Source.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Source.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Source.Builder |
mergeFrom(com.google.protobuf.Message other) |
Source.Builder |
mergeFrom(Source other) |
Source.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Source.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Source.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Source.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Source.Builder |
setDescription(String value)
Free-text description.
|
Source.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Free-text description.
|
Source.Builder |
setDisplayName(String value)
User-friendly display name.
|
Source.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
User-friendly display name.
|
Source.Builder |
setErrorFrameCount(int value)
Output only.
|
Source.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Source.Builder |
setManaged(boolean value)
If `true`, the source is managed by other service(s).
|
Source.Builder |
setName(String value)
Output only.
|
Source.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Source.Builder |
setPendingFrameCount(int value)
Output only.
|
Source.Builder |
setPriority(int value)
The information confidence of the source.
|
Source.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Source.Builder |
setState(Source.State value)
Output only.
|
Source.Builder |
setStateValue(int value)
Output only.
|
Source.Builder |
setType(Source.SourceType value)
Data source type.
|
Source.Builder |
setTypeValue(int value)
Data source type.
|
Source.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Source.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Source.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Source build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Source buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Source.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Source.Builder>public Source.Builder mergeFrom(Source other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public Source.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Source.Builder>IOExceptionpublic String getName()
Output only. The full name of the source.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface SourceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The full name of the source.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface SourceOrBuilderpublic Source.Builder setName(String value)
Output only. The full name of the source.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Source.Builder clearName()
Output only. The full name of the source.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Source.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The full name of the source.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public boolean hasCreateTime()
Output only. The timestamp when the source was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface SourceOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when the source was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface SourceOrBuilderpublic Source.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the source was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Source.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the source was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Source.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the source was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Source.Builder clearCreateTime()
Output only. The timestamp when the source was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp when the source was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when the source was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface SourceOrBuilderpublic boolean hasUpdateTime()
Output only. The timestamp when the source was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface SourceOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp when the source was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface SourceOrBuilderpublic Source.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the source was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Source.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the source was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Source.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the source was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Source.Builder clearUpdateTime()
Output only. The timestamp when the source was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp when the source was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the source was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface SourceOrBuilderpublic String getDisplayName()
User-friendly display name.
string display_name = 4;getDisplayName in interface SourceOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
User-friendly display name.
string display_name = 4;getDisplayNameBytes in interface SourceOrBuilderpublic Source.Builder setDisplayName(String value)
User-friendly display name.
string display_name = 4;value - The displayName to set.public Source.Builder clearDisplayName()
User-friendly display name.
string display_name = 4;public Source.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User-friendly display name.
string display_name = 4;value - The bytes for displayName to set.public String getDescription()
Free-text description.
string description = 5;getDescription in interface SourceOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Free-text description.
string description = 5;getDescriptionBytes in interface SourceOrBuilderpublic Source.Builder setDescription(String value)
Free-text description.
string description = 5;value - The description to set.public Source.Builder clearDescription()
Free-text description.
string description = 5;public Source.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Free-text description.
string description = 5;value - The bytes for description to set.public int getTypeValue()
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;getTypeValue in interface SourceOrBuilderpublic Source.Builder setTypeValue(int value)
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;value - The enum numeric value on the wire for type to set.public Source.SourceType getType()
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;getType in interface SourceOrBuilderpublic Source.Builder setType(Source.SourceType value)
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;value - The type to set.public Source.Builder clearType()
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;public int getPriority()
The information confidence of the source. The higher the value, the higher the confidence.
int32 priority = 7;getPriority in interface SourceOrBuilderpublic Source.Builder setPriority(int value)
The information confidence of the source. The higher the value, the higher the confidence.
int32 priority = 7;value - The priority to set.public Source.Builder clearPriority()
The information confidence of the source. The higher the value, the higher the confidence.
int32 priority = 7;public boolean getManaged()
If `true`, the source is managed by other service(s).
bool managed = 8;getManaged in interface SourceOrBuilderpublic Source.Builder setManaged(boolean value)
If `true`, the source is managed by other service(s).
bool managed = 8;value - The managed to set.public Source.Builder clearManaged()
If `true`, the source is managed by other service(s).
bool managed = 8;public int getPendingFrameCount()
Output only. Number of frames that are still being processed.
int32 pending_frame_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getPendingFrameCount in interface SourceOrBuilderpublic Source.Builder setPendingFrameCount(int value)
Output only. Number of frames that are still being processed.
int32 pending_frame_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The pendingFrameCount to set.public Source.Builder clearPendingFrameCount()
Output only. Number of frames that are still being processed.
int32 pending_frame_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];public int getErrorFrameCount()
Output only. The number of frames that were reported by the source and contained errors.
int32 error_frame_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getErrorFrameCount in interface SourceOrBuilderpublic Source.Builder setErrorFrameCount(int value)
Output only. The number of frames that were reported by the source and contained errors.
int32 error_frame_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The errorFrameCount to set.public Source.Builder clearErrorFrameCount()
Output only. The number of frames that were reported by the source and contained errors.
int32 error_frame_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];public int getStateValue()
Output only. The state of the source.
.google.cloud.migrationcenter.v1.Source.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface SourceOrBuilderpublic Source.Builder setStateValue(int value)
Output only. The state of the source.
.google.cloud.migrationcenter.v1.Source.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Source.State getState()
Output only. The state of the source.
.google.cloud.migrationcenter.v1.Source.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface SourceOrBuilderpublic Source.Builder setState(Source.State value)
Output only. The state of the source.
.google.cloud.migrationcenter.v1.Source.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Source.Builder clearState()
Output only. The state of the source.
.google.cloud.migrationcenter.v1.Source.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final Source.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>public final Source.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>Copyright © 2024 Google LLC. All rights reserved.