Class MoveRepositoryMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MoveRepositoryMetadata.Builder>
com.google.cloud.dataform.v1beta1.MoveRepositoryMetadata.Builder
- All Implemented Interfaces:
MoveRepositoryMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MoveRepositoryMetadata
public static final class MoveRepositoryMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MoveRepositoryMetadata.Builder>
implements MoveRepositoryMetadataOrBuilder
Contains metadata about the progress of the MoveRepository Long-running operations.Protobuf type
google.cloud.dataform.v1beta1.MoveRepositoryMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Percent complete of the move [0, 100].The state of the move.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intPercent complete of the move [0, 100].getState()The state of the move.intThe state of the move.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeEndTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(MoveRepositoryMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setEndTime(com.google.protobuf.Timestamp value) Output only.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setPercentComplete(int value) Percent complete of the move [0, 100].The state of the move.setStateValue(int value) The state of the move.Output only.setTargetBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MoveRepositoryMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MoveRepositoryMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MoveRepositoryMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MoveRepositoryMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MoveRepositoryMetadata.Builder>
-
mergeFrom
public MoveRepositoryMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MoveRepositoryMetadata.Builder>- Throws:
IOException
-
hasCreateTime
public boolean hasCreateTime()Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceMoveRepositoryMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceMoveRepositoryMetadataOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public MoveRepositoryMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceMoveRepositoryMetadataOrBuilder
-
hasEndTime
public boolean hasEndTime()Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndTimein interfaceMoveRepositoryMetadataOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimein interfaceMoveRepositoryMetadataOrBuilder- Returns:
- The endTime.
-
setEndTime
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setEndTime
public MoveRepositoryMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeEndTime
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearEndTime
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeOrBuilderin interfaceMoveRepositoryMetadataOrBuilder
-
getTarget
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetin interfaceMoveRepositoryMetadataOrBuilder- Returns:
- The target.
-
getTargetBytes
public com.google.protobuf.ByteString getTargetBytes()Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetBytesin interfaceMoveRepositoryMetadataOrBuilder- Returns:
- The bytes for target.
-
setTarget
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The target to set.- Returns:
- This builder for chaining.
-
clearTarget
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setTargetBytes
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for target to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()The state of the move.
.google.cloud.dataform.v1beta1.MoveRepositoryMetadata.State state = 4;- Specified by:
getStateValuein interfaceMoveRepositoryMetadataOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The state of the move.
.google.cloud.dataform.v1beta1.MoveRepositoryMetadata.State state = 4;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The state of the move.
.google.cloud.dataform.v1beta1.MoveRepositoryMetadata.State state = 4;- Specified by:
getStatein interfaceMoveRepositoryMetadataOrBuilder- Returns:
- The state.
-
setState
The state of the move.
.google.cloud.dataform.v1beta1.MoveRepositoryMetadata.State state = 4;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The state of the move.
.google.cloud.dataform.v1beta1.MoveRepositoryMetadata.State state = 4;- Returns:
- This builder for chaining.
-
getPercentComplete
public int getPercentComplete()Percent complete of the move [0, 100].
int32 percent_complete = 5;- Specified by:
getPercentCompletein interfaceMoveRepositoryMetadataOrBuilder- Returns:
- The percentComplete.
-
setPercentComplete
Percent complete of the move [0, 100].
int32 percent_complete = 5;- Parameters:
value- The percentComplete to set.- Returns:
- This builder for chaining.
-
clearPercentComplete
Percent complete of the move [0, 100].
int32 percent_complete = 5;- Returns:
- This builder for chaining.
-