Class Run

  • All Implemented Interfaces:
    RunOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Run
    extends com.google.protobuf.GeneratedMessageV3
    implements RunOrBuilder
     A lineage run represents an execution of a process that creates
     lineage events.
     
    Protobuf type google.cloud.datacatalog.lineage.v1.Run
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Run.Builder
      A lineage run represents an execution of a process that creates lineage events.
      static class  Run.State
      The current state of the run.
      • 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 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
      • getName

        public String getName()
         Immutable. The resource name of the run. Format:
         `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
         Can be specified or auto-assigned.
         {run} must be not longer than 200 characters and only
         contain characters in a set: `a-zA-Z0-9_-:.`
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getName in interface RunOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Immutable. The resource name of the run. Format:
         `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
         Can be specified or auto-assigned.
         {run} must be not longer than 200 characters and only
         contain characters in a set: `a-zA-Z0-9_-:.`
         
        string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getNameBytes in interface RunOrBuilder
        Returns:
        The bytes for name.
      • getDisplayName

        public String getDisplayName()
         Optional. A human-readable name you can set to display in a user interface.
         Must be not longer than 1024 characters and only contain UTF-8 letters
         or numbers, spaces or characters like `_-:&.`
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisplayName in interface RunOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Optional. A human-readable name you can set to display in a user interface.
         Must be not longer than 1024 characters and only contain UTF-8 letters
         or numbers, spaces or characters like `_-:&.`
         
        string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisplayNameBytes in interface RunOrBuilder
        Returns:
        The bytes for displayName.
      • getAttributesCount

        public int getAttributesCount()
        Description copied from interface: RunOrBuilder
         Optional. The attributes of the run. Can be anything, for example, a string
         with an SQL request. Up to 100 attributes are allowed.
         
        map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAttributesCount in interface RunOrBuilder
      • containsAttributes

        public boolean containsAttributes​(String key)
         Optional. The attributes of the run. Can be anything, for example, a string
         with an SQL request. Up to 100 attributes are allowed.
         
        map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsAttributes in interface RunOrBuilder
      • getAttributesMap

        public Map<String,​com.google.protobuf.Value> getAttributesMap()
         Optional. The attributes of the run. Can be anything, for example, a string
         with an SQL request. Up to 100 attributes are allowed.
         
        map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAttributesMap in interface RunOrBuilder
      • getAttributesOrDefault

        public com.google.protobuf.Value getAttributesOrDefault​(String key,
                                                                com.google.protobuf.Value defaultValue)
         Optional. The attributes of the run. Can be anything, for example, a string
         with an SQL request. Up to 100 attributes are allowed.
         
        map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAttributesOrDefault in interface RunOrBuilder
      • getAttributesOrThrow

        public com.google.protobuf.Value getAttributesOrThrow​(String key)
         Optional. The attributes of the run. Can be anything, for example, a string
         with an SQL request. Up to 100 attributes are allowed.
         
        map<string, .google.protobuf.Value> attributes = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAttributesOrThrow in interface RunOrBuilder
      • hasStartTime

        public boolean hasStartTime()
         Required. The timestamp of the start of the run.
         
        .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasStartTime in interface RunOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         Required. The timestamp of the start of the run.
         
        .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getStartTime in interface RunOrBuilder
        Returns:
        The startTime.
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         Required. The timestamp of the start of the run.
         
        .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getStartTimeOrBuilder in interface RunOrBuilder
      • hasEndTime

        public boolean hasEndTime()
         Optional. The timestamp of the end of the run.
         
        .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasEndTime in interface RunOrBuilder
        Returns:
        Whether the endTime field is set.
      • getEndTime

        public com.google.protobuf.Timestamp getEndTime()
         Optional. The timestamp of the end of the run.
         
        .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEndTime in interface RunOrBuilder
        Returns:
        The endTime.
      • getEndTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         Optional. The timestamp of the end of the run.
         
        .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEndTimeOrBuilder in interface RunOrBuilder
      • getStateValue

        public int getStateValue()
         Required. The state of the run.
         
        .google.cloud.datacatalog.lineage.v1.Run.State state = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getStateValue in interface RunOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getState

        public Run.State getState()
         Required. The state of the run.
         
        .google.cloud.datacatalog.lineage.v1.Run.State state = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getState in interface RunOrBuilder
        Returns:
        The state.
      • 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 Run parseFrom​(ByteBuffer data)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Run parseFrom​(ByteBuffer data,
                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Run parseFrom​(com.google.protobuf.ByteString data)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Run parseFrom​(com.google.protobuf.ByteString data,
                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Run parseFrom​(byte[] data)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Run parseFrom​(byte[] data,
                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseDelimitedFrom

        public static Run parseDelimitedFrom​(InputStream input,
                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                      throws IOException
        Throws:
        IOException
      • parseFrom

        public static Run parseFrom​(com.google.protobuf.CodedInputStream input)
                             throws IOException
        Throws:
        IOException
      • parseFrom

        public static Run parseFrom​(com.google.protobuf.CodedInputStream input,
                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                             throws IOException
        Throws:
        IOException
      • newBuilderForType

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

        public static Run.Builder newBuilder​(Run prototype)
      • toBuilder

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

        protected Run.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Run getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Run> parser()
      • getParserForType

        public com.google.protobuf.Parser<Run> 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 Run getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder