Class Metadata (0.49.0)

public final class Metadata extends GeneratedMessageV3 implements MetadataOrBuilder

Carries information about the pipeline execution that is returned in the long running operation's metadata field.

Protobuf type google.cloud.lifesciences.v2beta.Metadata

Implements

MetadataOrBuilder

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

EVENTS_FIELD_NUMBER

public static final int EVENTS_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

PIPELINE_FIELD_NUMBER

public static final int PIPELINE_FIELD_NUMBER
Field Value
Type Description
int

PUB_SUB_TOPIC_FIELD_NUMBER

public static final int PUB_SUB_TOPIC_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Metadata getDefaultInstance()
Returns
Type Description
Metadata

getDescriptor()

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

newBuilder()

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

newBuilder(Metadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsLabels(String key)

public boolean containsLabels(String key)

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getCreateTime()

public Timestamp getCreateTime()

The time at which the operation was created by the API.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time at which the operation was created by the API.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Metadata getDefaultInstanceForType()
Returns
Type Description
Metadata

getEndTime()

public Timestamp getEndTime()

The time at which execution was completed and resources were cleaned up.

.google.protobuf.Timestamp end_time = 6;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time at which execution was completed and resources were cleaned up.

.google.protobuf.Timestamp end_time = 6;

Returns
Type Description
TimestampOrBuilder

getEvents(int index)

public Event getEvents(int index)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameter
Name Description
index int
Returns
Type Description
Event

getEventsCount()

public int getEventsCount()

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Returns
Type Description
int

getEventsList()

public List<Event> getEventsList()

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Returns
Type Description
List<Event>

getEventsOrBuilder(int index)

public EventOrBuilder getEventsOrBuilder(int index)

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Parameter
Name Description
index int
Returns
Type Description
EventOrBuilder

getEventsOrBuilderList()

public List<? extends EventOrBuilder> getEventsOrBuilderList()

The list of events that have happened so far during the execution of this operation.

repeated .google.cloud.lifesciences.v2beta.Event events = 3;

Returns
Type Description
List<? extends com.google.cloud.lifesciences.v2beta.EventOrBuilder>

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

The user-defined labels associated with this operation.

map<string, string> labels = 2;

Parameter
Name Description
key String
Returns
Type Description
String

getParserForType()

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

getPipeline()

public Pipeline getPipeline()

The pipeline this operation represents.

.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;

Returns
Type Description
Pipeline

The pipeline.

getPipelineOrBuilder()

public PipelineOrBuilder getPipelineOrBuilder()

The pipeline this operation represents.

.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;

Returns
Type Description
PipelineOrBuilder

getPubSubTopic()

public String getPubSubTopic()

The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.

string pub_sub_topic = 7;

Returns
Type Description
String

The pubSubTopic.

getPubSubTopicBytes()

public ByteString getPubSubTopicBytes()

The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.

string pub_sub_topic = 7;

Returns
Type Description
ByteString

The bytes for pubSubTopic.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

The first time at which resources were allocated to execute the pipeline.

.google.protobuf.Timestamp start_time = 5;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The first time at which resources were allocated to execute the pipeline.

.google.protobuf.Timestamp start_time = 5;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

The time at which the operation was created by the API.

.google.protobuf.Timestamp create_time = 4;

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

The time at which execution was completed and resources were cleaned up.

.google.protobuf.Timestamp end_time = 6;

Returns
Type Description
boolean

Whether the endTime field is set.

hasPipeline()

public boolean hasPipeline()

The pipeline this operation represents.

.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;

Returns
Type Description
boolean

Whether the pipeline field is set.

hasStartTime()

public boolean hasStartTime()

The first time at which resources were allocated to execute the pipeline.

.google.protobuf.Timestamp start_time = 5;

Returns
Type Description
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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