Package com.google.cloud.chronicle.v1
Class RetrohuntMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RetrohuntMetadata.Builder>
com.google.cloud.chronicle.v1.RetrohuntMetadata.Builder
- All Implemented Interfaces:
RetrohuntMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RetrohuntMetadata
public static final class RetrohuntMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RetrohuntMetadata.Builder>
implements RetrohuntMetadataOrBuilder
Operation Metadata for Retrohunts.Protobuf type
google.cloud.chronicle.v1.RetrohuntMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The start and end time of the retrohunt execution.Percent progress of the retrohunt towards completion, from 0.00 to 100.00.The name of the retrohunt.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe start and end time of the retrohunt execution.The start and end time of the retrohunt execution.The start and end time of the retrohunt execution.floatPercent progress of the retrohunt towards completion, from 0.00 to 100.00.The name of the retrohunt.com.google.protobuf.ByteStringThe name of the retrohunt.booleanThe start and end time of the retrohunt execution.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExecutionInterval(Interval value) The start and end time of the retrohunt execution.mergeFrom(RetrohuntMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setExecutionInterval(Interval value) The start and end time of the retrohunt execution.setExecutionInterval(Interval.Builder builderForValue) The start and end time of the retrohunt execution.setProgressPercentage(float value) Percent progress of the retrohunt towards completion, from 0.00 to 100.00.setRetrohunt(String value) The name of the retrohunt.setRetrohuntBytes(com.google.protobuf.ByteString value) The name of the retrohunt.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<RetrohuntMetadata.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<RetrohuntMetadata.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<RetrohuntMetadata.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<RetrohuntMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RetrohuntMetadata.Builder>
-
mergeFrom
public RetrohuntMetadata.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<RetrohuntMetadata.Builder>- Throws:
IOException
-
getRetrohunt
The name of the retrohunt. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`string retrohunt = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getRetrohuntin interfaceRetrohuntMetadataOrBuilder- Returns:
- The retrohunt.
-
getRetrohuntBytes
public com.google.protobuf.ByteString getRetrohuntBytes()The name of the retrohunt. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`string retrohunt = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getRetrohuntBytesin interfaceRetrohuntMetadataOrBuilder- Returns:
- The bytes for retrohunt.
-
setRetrohunt
The name of the retrohunt. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`string retrohunt = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The retrohunt to set.- Returns:
- This builder for chaining.
-
clearRetrohunt
The name of the retrohunt. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`string retrohunt = 1 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setRetrohuntBytes
The name of the retrohunt. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`string retrohunt = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for retrohunt to set.- Returns:
- This builder for chaining.
-
hasExecutionInterval
public boolean hasExecutionInterval()The start and end time of the retrohunt execution. If the retrohunt is not yet finished, the end time of the interval will not be filled.
.google.type.Interval execution_interval = 2;- Specified by:
hasExecutionIntervalin interfaceRetrohuntMetadataOrBuilder- Returns:
- Whether the executionInterval field is set.
-
getExecutionInterval
The start and end time of the retrohunt execution. If the retrohunt is not yet finished, the end time of the interval will not be filled.
.google.type.Interval execution_interval = 2;- Specified by:
getExecutionIntervalin interfaceRetrohuntMetadataOrBuilder- Returns:
- The executionInterval.
-
setExecutionInterval
The start and end time of the retrohunt execution. If the retrohunt is not yet finished, the end time of the interval will not be filled.
.google.type.Interval execution_interval = 2; -
setExecutionInterval
The start and end time of the retrohunt execution. If the retrohunt is not yet finished, the end time of the interval will not be filled.
.google.type.Interval execution_interval = 2; -
mergeExecutionInterval
The start and end time of the retrohunt execution. If the retrohunt is not yet finished, the end time of the interval will not be filled.
.google.type.Interval execution_interval = 2; -
clearExecutionInterval
The start and end time of the retrohunt execution. If the retrohunt is not yet finished, the end time of the interval will not be filled.
.google.type.Interval execution_interval = 2; -
getExecutionIntervalBuilder
The start and end time of the retrohunt execution. If the retrohunt is not yet finished, the end time of the interval will not be filled.
.google.type.Interval execution_interval = 2; -
getExecutionIntervalOrBuilder
The start and end time of the retrohunt execution. If the retrohunt is not yet finished, the end time of the interval will not be filled.
.google.type.Interval execution_interval = 2;- Specified by:
getExecutionIntervalOrBuilderin interfaceRetrohuntMetadataOrBuilder
-
getProgressPercentage
public float getProgressPercentage()Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
float progress_percentage = 3;- Specified by:
getProgressPercentagein interfaceRetrohuntMetadataOrBuilder- Returns:
- The progressPercentage.
-
setProgressPercentage
Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
float progress_percentage = 3;- Parameters:
value- The progressPercentage to set.- Returns:
- This builder for chaining.
-
clearProgressPercentage
Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
float progress_percentage = 3;- Returns:
- This builder for chaining.
-