public static final class RetrohuntMetadata.Builder extends GeneratedMessageV3.Builder<RetrohuntMetadata.Builder> implements RetrohuntMetadataOrBuilder
Operation Metadata for Retrohunts.
Protobuf type google.cloud.chronicle.v1.RetrohuntMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public RetrohuntMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RetrohuntMetadata build()
public RetrohuntMetadata buildPartial()
public RetrohuntMetadata.Builder clear()
Overrides
public RetrohuntMetadata.Builder 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;
public RetrohuntMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RetrohuntMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RetrohuntMetadata.Builder clearProgressPercentage()
Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
float progress_percentage = 3;
public RetrohuntMetadata.Builder clearRetrohunt()
The name of the retrohunt.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
string retrohunt = 1 [(.google.api.resource_reference) = { ... }
public RetrohuntMetadata.Builder clone()
Overrides
public RetrohuntMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Interval 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;
Returns |
Type |
Description |
com.google.type.Interval |
The executionInterval.
|
public Interval.Builder 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;
Returns |
Type |
Description |
com.google.type.Interval.Builder |
|
public IntervalOrBuilder 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;
Returns |
Type |
Description |
com.google.type.IntervalOrBuilder |
|
public float getProgressPercentage()
Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
float progress_percentage = 3;
Returns |
Type |
Description |
float |
The progressPercentage.
|
public String getRetrohunt()
The name of the retrohunt.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
string retrohunt = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The retrohunt.
|
public 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) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for retrohunt.
|
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;
Returns |
Type |
Description |
boolean |
Whether the executionInterval field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RetrohuntMetadata.Builder mergeExecutionInterval(Interval value)
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;
Parameter |
Name |
Description |
value |
com.google.type.Interval
|
public RetrohuntMetadata.Builder mergeFrom(RetrohuntMetadata other)
public RetrohuntMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RetrohuntMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final RetrohuntMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RetrohuntMetadata.Builder setExecutionInterval(Interval value)
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;
Parameter |
Name |
Description |
value |
com.google.type.Interval
|
public RetrohuntMetadata.Builder setExecutionInterval(Interval.Builder builderForValue)
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;
Parameter |
Name |
Description |
builderForValue |
com.google.type.Interval.Builder
|
public RetrohuntMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RetrohuntMetadata.Builder setProgressPercentage(float value)
Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
float progress_percentage = 3;
Parameter |
Name |
Description |
value |
float
The progressPercentage to set.
|
public RetrohuntMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public RetrohuntMetadata.Builder setRetrohunt(String value)
The name of the retrohunt.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
string retrohunt = 1 [(.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The retrohunt to set.
|
public RetrohuntMetadata.Builder setRetrohuntBytes(ByteString value)
The name of the retrohunt.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}
string retrohunt = 1 [(.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for retrohunt to set.
|
public final RetrohuntMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides