Class Metadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.lifesciences.v2beta.Metadata
-
- All Implemented Interfaces:
MetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Metadata extends com.google.protobuf.GeneratedMessageV3 implements MetadataOrBuilder
Carries information about the pipeline execution that is returned in the long running operation's metadata field.
Protobuf typegoogle.cloud.lifesciences.v2beta.Metadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMetadata.BuilderCarries information about the pipeline execution that is returned in the long running operation's metadata field.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intEND_TIME_FIELD_NUMBERstatic intEVENTS_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intPIPELINE_FIELD_NUMBERstatic intPUB_SUB_TOPIC_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)The user-defined labels associated with this operation.booleanequals(Object obj)com.google.protobuf.TimestampgetCreateTime()The time at which the operation was created by the API.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time at which the operation was created by the API.static MetadatagetDefaultInstance()MetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetEndTime()The time at which execution was completed and resources were cleaned up.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()The time at which execution was completed and resources were cleaned up.EventgetEvents(int index)The list of events that have happened so far during the execution of this operation.intgetEventsCount()The list of events that have happened so far during the execution of this operation.List<Event>getEventsList()The list of events that have happened so far during the execution of this operation.EventOrBuildergetEventsOrBuilder(int index)The list of events that have happened so far during the execution of this operation.List<? extends EventOrBuilder>getEventsOrBuilderList()The list of events that have happened so far during the execution of this operation.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The user-defined labels associated with this operation.Map<String,String>getLabelsMap()The user-defined labels associated with this operation.StringgetLabelsOrDefault(String key, String defaultValue)The user-defined labels associated with this operation.StringgetLabelsOrThrow(String key)The user-defined labels associated with this operation.com.google.protobuf.Parser<Metadata>getParserForType()PipelinegetPipeline()The pipeline this operation represents.PipelineOrBuildergetPipelineOrBuilder()The pipeline this operation represents.StringgetPubSubTopic()The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.com.google.protobuf.ByteStringgetPubSubTopicBytes()The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.intgetSerializedSize()com.google.protobuf.TimestampgetStartTime()The first time at which resources were allocated to execute the pipeline.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()The first time at which resources were allocated to execute the pipeline.booleanhasCreateTime()The time at which the operation was created by the API.booleanhasEndTime()The time at which execution was completed and resources were cleaned up.inthashCode()booleanhasPipeline()The pipeline this operation represents.booleanhasStartTime()The first time at which resources were allocated to execute the pipeline.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Metadata.BuildernewBuilder()static Metadata.BuildernewBuilder(Metadata prototype)Metadata.BuildernewBuilderForType()protected Metadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MetadataparseDelimitedFrom(InputStream input)static MetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MetadataparseFrom(byte[] data)static MetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MetadataparseFrom(com.google.protobuf.ByteString data)static MetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MetadataparseFrom(com.google.protobuf.CodedInputStream input)static MetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MetadataparseFrom(InputStream input)static MetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MetadataparseFrom(ByteBuffer data)static MetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Metadata>parser()Metadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PIPELINE_FIELD_NUMBER
public static final int PIPELINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENTS_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUB_SUB_TOPIC_FIELD_NUMBER
public static final int PUB_SUB_TOPIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasPipeline
public boolean hasPipeline()
The pipeline this operation represents.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;- Specified by:
hasPipelinein interfaceMetadataOrBuilder- Returns:
- Whether the pipeline field is set.
-
getPipeline
public Pipeline getPipeline()
The pipeline this operation represents.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;- Specified by:
getPipelinein interfaceMetadataOrBuilder- Returns:
- The pipeline.
-
getPipelineOrBuilder
public PipelineOrBuilder getPipelineOrBuilder()
The pipeline this operation represents.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;- Specified by:
getPipelineOrBuilderin interfaceMetadataOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:MetadataOrBuilderThe user-defined labels associated with this operation.
map<string, string> labels = 2;- Specified by:
getLabelsCountin interfaceMetadataOrBuilder
-
containsLabels
public boolean containsLabels(String key)
The user-defined labels associated with this operation.
map<string, string> labels = 2;- Specified by:
containsLabelsin interfaceMetadataOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceMetadataOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
The user-defined labels associated with this operation.
map<string, string> labels = 2;- Specified by:
getLabelsMapin interfaceMetadataOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
The user-defined labels associated with this operation.
map<string, string> labels = 2;- Specified by:
getLabelsOrDefaultin interfaceMetadataOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
The user-defined labels associated with this operation.
map<string, string> labels = 2;- Specified by:
getLabelsOrThrowin interfaceMetadataOrBuilder
-
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;- Specified by:
getEventsListin interfaceMetadataOrBuilder
-
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;- Specified by:
getEventsOrBuilderListin interfaceMetadataOrBuilder
-
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;- Specified by:
getEventsCountin interfaceMetadataOrBuilder
-
getEvents
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;- Specified by:
getEventsin interfaceMetadataOrBuilder
-
getEventsOrBuilder
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;- Specified by:
getEventsOrBuilderin interfaceMetadataOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
The time at which the operation was created by the API.
.google.protobuf.Timestamp create_time = 4;- Specified by:
hasCreateTimein interfaceMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
The time at which the operation was created by the API.
.google.protobuf.Timestamp create_time = 4;- Specified by:
getCreateTimein interfaceMetadataOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time at which the operation was created by the API.
.google.protobuf.Timestamp create_time = 4;- Specified by:
getCreateTimeOrBuilderin interfaceMetadataOrBuilder
-
hasStartTime
public boolean hasStartTime()
The first time at which resources were allocated to execute the pipeline.
.google.protobuf.Timestamp start_time = 5;- Specified by:
hasStartTimein interfaceMetadataOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
The first time at which resources were allocated to execute the pipeline.
.google.protobuf.Timestamp start_time = 5;- Specified by:
getStartTimein interfaceMetadataOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The first time at which resources were allocated to execute the pipeline.
.google.protobuf.Timestamp start_time = 5;- Specified by:
getStartTimeOrBuilderin interfaceMetadataOrBuilder
-
hasEndTime
public boolean hasEndTime()
The time at which execution was completed and resources were cleaned up.
.google.protobuf.Timestamp end_time = 6;- Specified by:
hasEndTimein interfaceMetadataOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
The time at which execution was completed and resources were cleaned up.
.google.protobuf.Timestamp end_time = 6;- Specified by:
getEndTimein interfaceMetadataOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The time at which execution was completed and resources were cleaned up.
.google.protobuf.Timestamp end_time = 6;- Specified by:
getEndTimeOrBuilderin interfaceMetadataOrBuilder
-
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;- Specified by:
getPubSubTopicin interfaceMetadataOrBuilder- Returns:
- The pubSubTopic.
-
getPubSubTopicBytes
public com.google.protobuf.ByteString getPubSubTopicBytes()
The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.
string pub_sub_topic = 7;- Specified by:
getPubSubTopicBytesin interfaceMetadataOrBuilder- Returns:
- The bytes for pubSubTopic.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Metadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Metadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Metadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Metadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Metadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Metadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Metadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Metadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Metadata.Builder newBuilder()
-
newBuilder
public static Metadata.Builder newBuilder(Metadata prototype)
-
toBuilder
public Metadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Metadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Metadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Metadata> parser()
-
getParserForType
public com.google.protobuf.Parser<Metadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Metadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-