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 class
Metadata.Builder
Carries 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 int
CREATE_TIME_FIELD_NUMBER
static int
END_TIME_FIELD_NUMBER
static int
EVENTS_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
PIPELINE_FIELD_NUMBER
static int
PUB_SUB_TOPIC_FIELD_NUMBER
static int
START_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
The user-defined labels associated with this operation.boolean
equals(Object obj)
com.google.protobuf.Timestamp
getCreateTime()
The time at which the operation was created by the API.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The time at which the operation was created by the API.static Metadata
getDefaultInstance()
Metadata
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Timestamp
getEndTime()
The time at which execution was completed and resources were cleaned up.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
The time at which execution was completed and resources were cleaned up.Event
getEvents(int index)
The list of events that have happened so far during the execution of this operation.int
getEventsCount()
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.EventOrBuilder
getEventsOrBuilder(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.int
getLabelsCount()
The user-defined labels associated with this operation.Map<String,String>
getLabelsMap()
The user-defined labels associated with this operation.String
getLabelsOrDefault(String key, String defaultValue)
The user-defined labels associated with this operation.String
getLabelsOrThrow(String key)
The user-defined labels associated with this operation.com.google.protobuf.Parser<Metadata>
getParserForType()
Pipeline
getPipeline()
The pipeline this operation represents.PipelineOrBuilder
getPipelineOrBuilder()
The pipeline this operation represents.String
getPubSubTopic()
The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.com.google.protobuf.ByteString
getPubSubTopicBytes()
The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.int
getSerializedSize()
com.google.protobuf.Timestamp
getStartTime()
The first time at which resources were allocated to execute the pipeline.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
The first time at which resources were allocated to execute the pipeline.boolean
hasCreateTime()
The time at which the operation was created by the API.boolean
hasEndTime()
The time at which execution was completed and resources were cleaned up.int
hashCode()
boolean
hasPipeline()
The pipeline this operation represents.boolean
hasStartTime()
The first time at which resources were allocated to execute the pipeline.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Metadata.Builder
newBuilder()
static Metadata.Builder
newBuilder(Metadata prototype)
Metadata.Builder
newBuilderForType()
protected Metadata.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Metadata
parseDelimitedFrom(InputStream input)
static Metadata
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Metadata
parseFrom(byte[] data)
static Metadata
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Metadata
parseFrom(com.google.protobuf.ByteString data)
static Metadata
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Metadata
parseFrom(com.google.protobuf.CodedInputStream input)
static Metadata
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Metadata
parseFrom(InputStream input)
static Metadata
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Metadata
parseFrom(ByteBuffer data)
static Metadata
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Metadata>
parser()
Metadata.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasPipeline
public boolean hasPipeline()
The pipeline this operation represents.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;
- Specified by:
hasPipeline
in 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:
getPipeline
in interfaceMetadataOrBuilder
- Returns:
- The pipeline.
-
getPipelineOrBuilder
public PipelineOrBuilder getPipelineOrBuilder()
The pipeline this operation represents.
.google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;
- Specified by:
getPipelineOrBuilder
in interfaceMetadataOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:MetadataOrBuilder
The user-defined labels associated with this operation.
map<string, string> labels = 2;
- Specified by:
getLabelsCount
in interfaceMetadataOrBuilder
-
containsLabels
public boolean containsLabels(String key)
The user-defined labels associated with this operation.
map<string, string> labels = 2;
- Specified by:
containsLabels
in interfaceMetadataOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceMetadataOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
The user-defined labels associated with this operation.
map<string, string> labels = 2;
- Specified by:
getLabelsMap
in interfaceMetadataOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
The user-defined labels associated with this operation.
map<string, string> labels = 2;
- Specified by:
getLabelsOrDefault
in interfaceMetadataOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
The user-defined labels associated with this operation.
map<string, string> labels = 2;
- Specified by:
getLabelsOrThrow
in 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:
getEventsList
in 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:
getEventsOrBuilderList
in 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:
getEventsCount
in 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:
getEvents
in 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:
getEventsOrBuilder
in interfaceMetadataOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
The time at which the operation was created by the API.
.google.protobuf.Timestamp create_time = 4;
- Specified by:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasStartTime
in 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:
getStartTime
in 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:
getStartTimeOrBuilder
in 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:
hasEndTime
in 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:
getEndTime
in 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:
getEndTimeOrBuilder
in 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:
getPubSubTopic
in 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:
getPubSubTopicBytes
in interfaceMetadataOrBuilder
- Returns:
- The bytes for pubSubTopic.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Metadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Metadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-