public static final class RetrohuntMetadata.Builder extends GeneratedMessage.Builder<RetrohuntMetadata.Builder> implements RetrohuntMetadataOrBuilderOperation Metadata for Retrohunts.
Protobuf type google.cloud.chronicle.v1.RetrohuntMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RetrohuntMetadata.BuilderImplements
RetrohuntMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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. |
getDefaultInstanceForType()
public RetrohuntMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RetrohuntMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RetrohuntMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RetrohuntMetadata.Builder |
|
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 |
|
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 |
floatThe progressPercentage to set. |
| Returns | |
|---|---|
| Type | Description |
RetrohuntMetadata.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for retrohunt to set. |
| Returns | |
|---|---|
| Type | Description |
RetrohuntMetadata.Builder |
This builder for chaining. |