- 0.60.0 (latest)
 - 0.58.0
 - 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 Source.Builder extends GeneratedMessageV3.Builder<Source.Builder> implements SourceOrBuilderSource represents an object from which asset information is streamed to Migration Center.
 Protobuf type google.cloud.migrationcenter.v1.Source
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Source.BuilderImplements
SourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Source.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
build()
public Source build()| Returns | |
|---|---|
| Type | Description | 
Source | 
        |
buildPartial()
public Source buildPartial()| Returns | |
|---|---|
| Type | Description | 
Source | 
        |
clear()
public Source.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
clearCreateTime()
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];
 
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
clearDescription()
public Source.Builder clearDescription()Free-text description.
 string description = 5;
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
clearDisplayName()
public Source.Builder clearDisplayName()User-friendly display name.
 string display_name = 4;
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
clearErrorFrameCount()
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];
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Source.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
clearManaged()
public Source.Builder clearManaged() If true, the source is managed by other service(s).
 bool managed = 8;
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
clearName()
public Source.Builder clearName()Output only. The full name of the source.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Source.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
clearPendingFrameCount()
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];
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
clearPriority()
public Source.Builder clearPriority()The information confidence of the source. The higher the value, the higher the confidence.
 int32 priority = 7;
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
clearState()
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];
 
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
clearType()
public Source.Builder clearType()Data source type.
 .google.cloud.migrationcenter.v1.Source.SourceType type = 6;
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
clearUpdateTime()
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];
 
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
clone()
public Source.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
getCreateTime()
public Timestamp getCreateTime()Output only. The timestamp when the source was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The createTime.  | 
      
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp when the source was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp when the source was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getDefaultInstanceForType()
public Source getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Source | 
        |
getDescription()
public String getDescription()Free-text description.
 string description = 5;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The description.  | 
      
getDescriptionBytes()
public ByteString getDescriptionBytes()Free-text description.
 string description = 5;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for description.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getDisplayName()
public String getDisplayName()User-friendly display name.
 string display_name = 4;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The displayName.  | 
      
getDisplayNameBytes()
public ByteString getDisplayNameBytes()User-friendly display name.
 string display_name = 4;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for displayName.  | 
      
getErrorFrameCount()
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];
| Returns | |
|---|---|
| Type | Description | 
int | 
        The errorFrameCount.  | 
      
getManaged()
public boolean getManaged() If true, the source is managed by other service(s).
 bool managed = 8;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        The managed.  | 
      
getName()
public String getName()Output only. The full name of the source.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes()Output only. The full name of the source.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getPendingFrameCount()
public int getPendingFrameCount()Output only. Number of frames that are still being processed.
 int32 pending_frame_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
int | 
        The pendingFrameCount.  | 
      
getPriority()
public int getPriority()The information confidence of the source. The higher the value, the higher the confidence.
 int32 priority = 7;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The priority.  | 
      
getState()
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];
 
| Returns | |
|---|---|
| Type | Description | 
Source.State | 
        The state.  | 
      
getStateValue()
public int getStateValue()Output only. The state of the source.
 
 .google.cloud.migrationcenter.v1.Source.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for state.  | 
      
getType()
public Source.SourceType getType()Data source type.
 .google.cloud.migrationcenter.v1.Source.SourceType type = 6;
| Returns | |
|---|---|
| Type | Description | 
Source.SourceType | 
        The type.  | 
      
getTypeValue()
public int getTypeValue()Data source type.
 .google.cloud.migrationcenter.v1.Source.SourceType type = 6;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for type.  | 
      
getUpdateTime()
public Timestamp getUpdateTime()Output only. The timestamp when the source was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The updateTime.  | 
      
getUpdateTimeBuilder()
public 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];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp when the source was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
hasCreateTime()
public boolean hasCreateTime()Output only. The timestamp when the source was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the createTime field is set.  | 
      
hasUpdateTime()
public boolean hasUpdateTime()Output only. The timestamp when the source was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the updateTime 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 Source.Builder mergeCreateTime(Timestamp value)Output only. The timestamp when the source was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
mergeFrom(Source other)
public Source.Builder mergeFrom(Source other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Source | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Source.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Source.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Source.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
mergeUpdateTime(Timestamp value)
public Source.Builder mergeUpdateTime(Timestamp value)Output only. The timestamp when the source was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
setCreateTime(Timestamp value)
public Source.Builder setCreateTime(Timestamp value)Output only. The timestamp when the source was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
setCreateTime(Timestamp.Builder builderForValue)
public Source.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The timestamp when the source was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
setDescription(String value)
public Source.Builder setDescription(String value)Free-text description.
 string description = 5;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setDescriptionBytes(ByteString value)
public Source.Builder setDescriptionBytes(ByteString value)Free-text description.
 string description = 5;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setDisplayName(String value)
public Source.Builder setDisplayName(String value)User-friendly display name.
 string display_name = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe displayName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setDisplayNameBytes(ByteString value)
public Source.Builder setDisplayNameBytes(ByteString value)User-friendly display name.
 string display_name = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for displayName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setErrorFrameCount(int value)
public 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe errorFrameCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Source.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
setManaged(boolean value)
public Source.Builder setManaged(boolean value) If true, the source is managed by other service(s).
 bool managed = 8;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        booleanThe managed to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setName(String value)
public Source.Builder setName(String value)Output only. The full name of the source.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public Source.Builder setNameBytes(ByteString value)Output only. The full name of the source.
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setPendingFrameCount(int value)
public 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe pendingFrameCount to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setPriority(int value)
public Source.Builder setPriority(int value)The information confidence of the source. The higher the value, the higher the confidence.
 int32 priority = 7;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe priority to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Source.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
setState(Source.State value)
public 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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Source.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
public 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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setType(Source.SourceType value)
public Source.Builder setType(Source.SourceType value)Data source type.
 .google.cloud.migrationcenter.v1.Source.SourceType type = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Source.SourceTypeThe type to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setTypeValue(int value)
public Source.Builder setTypeValue(int value)Data source type.
 .google.cloud.migrationcenter.v1.Source.SourceType type = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for type to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Source.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
setUpdateTime(Timestamp value)
public Source.Builder setUpdateTime(Timestamp value)Output only. The timestamp when the source was last updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |
setUpdateTime(Timestamp.Builder builderForValue)
public Source.Builder setUpdateTime(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];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Source.Builder | 
        |