Class RetrohuntMetadata (0.1.0)

public final class RetrohuntMetadata extends GeneratedMessageV3 implements RetrohuntMetadataOrBuilder

Operation Metadata for Retrohunts.

Protobuf type google.cloud.chronicle.v1.RetrohuntMetadata

Static Fields

EXECUTION_INTERVAL_FIELD_NUMBER

public static final int EXECUTION_INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_PERCENTAGE_FIELD_NUMBER

public static final int PROGRESS_PERCENTAGE_FIELD_NUMBER
Field Value
Type Description
int

RETROHUNT_FIELD_NUMBER

public static final int RETROHUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RetrohuntMetadata getDefaultInstance()
Returns
Type Description
RetrohuntMetadata

getDescriptor()

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

newBuilder()

public static RetrohuntMetadata.Builder newBuilder()
Returns
Type Description
RetrohuntMetadata.Builder

newBuilder(RetrohuntMetadata prototype)

public static RetrohuntMetadata.Builder newBuilder(RetrohuntMetadata prototype)
Parameter
Name Description
prototype RetrohuntMetadata
Returns
Type Description
RetrohuntMetadata.Builder

parseDelimitedFrom(InputStream input)

public static RetrohuntMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrohuntMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RetrohuntMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RetrohuntMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RetrohuntMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RetrohuntMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RetrohuntMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrohuntMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RetrohuntMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrohuntMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RetrohuntMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RetrohuntMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrohuntMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RetrohuntMetadata> parser()
Returns
Type Description
Parser<RetrohuntMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RetrohuntMetadata getDefaultInstanceForType()
Returns
Type Description
RetrohuntMetadata

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.

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

getParserForType()

public Parser<RetrohuntMetadata> getParserForType()
Returns
Type Description
Parser<RetrohuntMetadata>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RetrohuntMetadata.Builder newBuilderForType()
Returns
Type Description
RetrohuntMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RetrohuntMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RetrohuntMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RetrohuntMetadata.Builder toBuilder()
Returns
Type Description
RetrohuntMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException