Class Source.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
- com.google.cloud.migrationcenter.v1.Source.Builder
-
- All Implemented Interfaces:
SourceOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Source
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 typegoogle.cloud.migrationcenter.v1.Source
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(Source other)
Source.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Source.Builder
mergeFrom(com.google.protobuf.Message 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 value)
Output only.Source.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 value)
Output only.Source.Builder
setUpdateTime(com.google.protobuf.Timestamp.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, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
clear
public Source.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<Source.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<Source.Builder>
-
getDefaultInstanceForType
public Source getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Source build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Source buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Source.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<Source.Builder>
-
setField
public Source.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<Source.Builder>
-
clearField
public Source.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<Source.Builder>
-
clearOneof
public Source.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<Source.Builder>
-
setRepeatedField
public Source.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<Source.Builder>
-
addRepeatedField
public Source.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<Source.Builder>
-
mergeFrom
public Source.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Source.Builder>
-
mergeFrom
public Source.Builder mergeFrom(Source other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
mergeFrom
public Source.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<Source.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The full name of the source.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceSourceOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The full name of the source.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceSourceOrBuilder
- Returns:
- The bytes for name.
-
setName
public Source.Builder setName(String value)
Output only. The full name of the source.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- 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:
- This builder for chaining.
-
setNameBytes
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];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
hasCreateTime
in interfaceSourceOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];
- Specified by:
getCreateTime
in interfaceSourceOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public 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];
-
setCreateTime
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];
-
mergeCreateTime
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];
-
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];
-
getCreateTimeBuilder
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];
-
getCreateTimeOrBuilder
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];
- Specified by:
getCreateTimeOrBuilder
in interfaceSourceOrBuilder
-
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];
- Specified by:
hasUpdateTime
in interfaceSourceOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];
- Specified by:
getUpdateTime
in interfaceSourceOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public 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];
-
setUpdateTime
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];
-
mergeUpdateTime
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];
-
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];
-
getUpdateTimeBuilder
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];
-
getUpdateTimeOrBuilder
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];
- Specified by:
getUpdateTimeOrBuilder
in interfaceSourceOrBuilder
-
getDisplayName
public String getDisplayName()
User-friendly display name.
string display_name = 4;
- Specified by:
getDisplayName
in interfaceSourceOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
User-friendly display name.
string display_name = 4;
- Specified by:
getDisplayNameBytes
in interfaceSourceOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public Source.Builder setDisplayName(String value)
User-friendly display name.
string display_name = 4;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Source.Builder clearDisplayName()
User-friendly display name.
string display_name = 4;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Source.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User-friendly display name.
string display_name = 4;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Free-text description.
string description = 5;
- Specified by:
getDescription
in interfaceSourceOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Free-text description.
string description = 5;
- Specified by:
getDescriptionBytes
in interfaceSourceOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Source.Builder setDescription(String value)
Free-text description.
string description = 5;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Source.Builder clearDescription()
Free-text description.
string description = 5;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Source.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Free-text description.
string description = 5;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;
- Specified by:
getTypeValue
in interfaceSourceOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public Source.Builder setTypeValue(int value)
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public Source.SourceType getType()
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;
- Specified by:
getType
in interfaceSourceOrBuilder
- Returns:
- The type.
-
setType
public Source.Builder setType(Source.SourceType value)
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Source.Builder clearType()
Data source type.
.google.cloud.migrationcenter.v1.Source.SourceType type = 6;
- Returns:
- This builder for chaining.
-
getPriority
public int getPriority()
The information confidence of the source. The higher the value, the higher the confidence.
int32 priority = 7;
- Specified by:
getPriority
in interfaceSourceOrBuilder
- Returns:
- The priority.
-
setPriority
public Source.Builder setPriority(int value)
The information confidence of the source. The higher the value, the higher the confidence.
int32 priority = 7;
- Parameters:
value
- The priority to set.- Returns:
- 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:
- This builder for chaining.
-
getManaged
public boolean getManaged()
If `true`, the source is managed by other service(s).
bool managed = 8;
- Specified by:
getManaged
in interfaceSourceOrBuilder
- Returns:
- The managed.
-
setManaged
public Source.Builder setManaged(boolean value)
If `true`, the source is managed by other service(s).
bool managed = 8;
- Parameters:
value
- The managed to set.- Returns:
- This builder for chaining.
-
clearManaged
public Source.Builder clearManaged()
If `true`, the source is managed by other service(s).
bool managed = 8;
- Returns:
- This builder for chaining.
-
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];
- Specified by:
getPendingFrameCount
in interfaceSourceOrBuilder
- Returns:
- The pendingFrameCount.
-
setPendingFrameCount
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];
- Parameters:
value
- The pendingFrameCount to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];
- Specified by:
getErrorFrameCount
in interfaceSourceOrBuilder
- Returns:
- The errorFrameCount.
-
setErrorFrameCount
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];
- Parameters:
value
- The errorFrameCount to set.- Returns:
- 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:
- This builder for chaining.
-
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];
- Specified by:
getStateValue
in interfaceSourceOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getState
in interfaceSourceOrBuilder
- Returns:
- The state.
-
setState
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];
- Parameters:
value
- The state to set.- Returns:
- 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:
- This builder for chaining.
-
setUnknownFields
public final Source.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
mergeUnknownFields
public final Source.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
-