Class RetrohuntMetadata.Builder (0.1.0)

public static final class RetrohuntMetadata.Builder extends GeneratedMessageV3.Builder<RetrohuntMetadata.Builder> implements RetrohuntMetadataOrBuilder

Operation Metadata for Retrohunts.

Protobuf type google.cloud.chronicle.v1.RetrohuntMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RetrohuntMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RetrohuntMetadata.Builder
Overrides

build()

public RetrohuntMetadata build()
Returns
Type Description
RetrohuntMetadata

buildPartial()

public RetrohuntMetadata buildPartial()
Returns
Type Description
RetrohuntMetadata

clear()

public RetrohuntMetadata.Builder clear()
Returns
Type Description
RetrohuntMetadata.Builder
Overrides

clearExecutionInterval()

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;

Returns
Type Description
RetrohuntMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public RetrohuntMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RetrohuntMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RetrohuntMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RetrohuntMetadata.Builder
Overrides

clearProgressPercentage()

public RetrohuntMetadata.Builder clearProgressPercentage()

Percent progress of the retrohunt towards completion, from 0.00 to 100.00.

float progress_percentage = 3;

Returns
Type Description
RetrohuntMetadata.Builder

This builder for chaining.

clearRetrohunt()

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) = { ... }

Returns
Type Description
RetrohuntMetadata.Builder

This builder for chaining.

clone()

public RetrohuntMetadata.Builder clone()
Returns
Type Description
RetrohuntMetadata.Builder
Overrides

getDefaultInstanceForType()

public RetrohuntMetadata getDefaultInstanceForType()
Returns
Type Description
RetrohuntMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExecutionInterval()

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.

getExecutionIntervalBuilder()

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

getExecutionIntervalOrBuilder()

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

getProgressPercentage()

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.

getRetrohunt()

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.

getRetrohuntBytes()

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.

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;

Returns
Type Description
boolean

Whether the executionInterval field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExecutionInterval(Interval value)

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
Returns
Type Description
RetrohuntMetadata.Builder

mergeFrom(RetrohuntMetadata other)

public RetrohuntMetadata.Builder mergeFrom(RetrohuntMetadata other)
Parameter
Name Description
other RetrohuntMetadata
Returns
Type Description
RetrohuntMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RetrohuntMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrohuntMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RetrohuntMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RetrohuntMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RetrohuntMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RetrohuntMetadata.Builder
Overrides

setExecutionInterval(Interval value)

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
Returns
Type Description
RetrohuntMetadata.Builder

setExecutionInterval(Interval.Builder builderForValue)

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
Returns
Type Description
RetrohuntMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RetrohuntMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RetrohuntMetadata.Builder
Overrides

setProgressPercentage(float value)

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.

Returns
Type Description
RetrohuntMetadata.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RetrohuntMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RetrohuntMetadata.Builder
Overrides

setRetrohunt(String value)

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.

Returns
Type Description
RetrohuntMetadata.Builder

This builder for chaining.

setRetrohuntBytes(ByteString value)

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.

Returns
Type Description
RetrohuntMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RetrohuntMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RetrohuntMetadata.Builder
Overrides