Class 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 type google.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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • 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 interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasPipeline

        public boolean hasPipeline()
         The pipeline this operation represents.
         
        .google.cloud.lifesciences.v2beta.Pipeline pipeline = 1;
        Specified by:
        hasPipeline in interface MetadataOrBuilder
        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 interface MetadataOrBuilder
        Returns:
        The pipeline.
      • 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 interface MetadataOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         The user-defined labels associated with this operation.
         
        map<string, string> labels = 2;
        Specified by:
        containsLabels in interface MetadataOrBuilder
      • 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 interface MetadataOrBuilder
      • 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 interface MetadataOrBuilder
      • 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 interface MetadataOrBuilder
      • 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 interface MetadataOrBuilder
      • 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 interface MetadataOrBuilder
      • 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 interface MetadataOrBuilder
        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 interface MetadataOrBuilder
        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 interface MetadataOrBuilder
      • 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 interface MetadataOrBuilder
        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 interface MetadataOrBuilder
        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 interface MetadataOrBuilder
      • 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 interface MetadataOrBuilder
        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 interface MetadataOrBuilder
        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 interface MetadataOrBuilder
      • 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 interface MetadataOrBuilder
        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 interface MetadataOrBuilder
        Returns:
        The bytes for pubSubTopic.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Metadata.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Metadata.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Metadata.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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 interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Metadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder