Interface SourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Source
,Source.Builder
public interface SourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDescription()
Free-text description.com.google.protobuf.ByteString
getDescriptionBytes()
Free-text description.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.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The full name of the source.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The full name of the source.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()
Output only. The timestamp when the source was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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];
-
hasUpdateTime
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:
- Whether the updateTime field is set.
-
getUpdateTime
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];
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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];
-
getDisplayName
String getDisplayName()
User-friendly display name.
string display_name = 4;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
User-friendly display name.
string display_name = 4;
- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()
Free-text description.
string description = 5;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Free-text description.
string description = 5;
- Returns:
- The bytes for description.
-
getTypeValue
int getTypeValue()
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;
- Returns:
- The enum numeric value on the wire for type.
-
getType
Source.SourceType getType()
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;
- Returns:
- The type.
-
getPriority
int getPriority()
The information confidence of the source. The higher the value, the higher the confidence.
int32 priority = 7;
- Returns:
- The priority.
-
getManaged
boolean getManaged()
If `true`, the source is managed by other service(s).
bool managed = 8;
- Returns:
- The managed.
-
getPendingFrameCount
int getPendingFrameCount()
Output only. Number of frames that are still being processed.
int32 pending_frame_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The pendingFrameCount.
-
getErrorFrameCount
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:
- The errorFrameCount.
-
getStateValue
int getStateValue()
Output only. The state of the source.
.google.cloud.migrationcenter.v1.Source.State state = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
-