Class Run
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.datacatalog.lineage.v1.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 typegoogle.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
-
-
Field Summary
Fields Modifier and Type Field Description static int
ATTRIBUTES_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
END_TIME_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
START_TIME_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsAttributes(String key)
Optional.boolean
equals(Object obj)
Map<String,com.google.protobuf.Value>
getAttributes()
Deprecated.int
getAttributesCount()
Optional.Map<String,com.google.protobuf.Value>
getAttributesMap()
Optional.com.google.protobuf.Value
getAttributesOrDefault(String key, com.google.protobuf.Value defaultValue)
Optional.com.google.protobuf.Value
getAttributesOrThrow(String key)
Optional.static Run
getDefaultInstance()
Run
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.com.google.protobuf.Timestamp
getEndTime()
Optional.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Optional.String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.com.google.protobuf.Parser<Run>
getParserForType()
int
getSerializedSize()
com.google.protobuf.Timestamp
getStartTime()
Required.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Required.Run.State
getState()
Required.int
getStateValue()
Required.boolean
hasEndTime()
Optional.int
hashCode()
boolean
hasStartTime()
Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Run.Builder
newBuilder()
static Run.Builder
newBuilder(Run prototype)
Run.Builder
newBuilderForType()
protected Run.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Run
parseDelimitedFrom(InputStream input)
static Run
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Run
parseFrom(byte[] data)
static Run
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Run
parseFrom(com.google.protobuf.ByteString data)
static Run
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Run
parseFrom(com.google.protobuf.CodedInputStream input)
static Run
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Run
parseFrom(InputStream input)
static Run
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Run
parseFrom(ByteBuffer data)
static Run
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Run>
parser()
Run.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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_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
-
STATE_FIELD_NUMBER
public static final int STATE_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
-
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 interfaceRunOrBuilder
- 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 interfaceRunOrBuilder
- 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 interfaceRunOrBuilder
- 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 interfaceRunOrBuilder
- 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 interfaceRunOrBuilder
-
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 interfaceRunOrBuilder
-
getAttributes
@Deprecated public Map<String,com.google.protobuf.Value> getAttributes()
Deprecated.UsegetAttributesMap()
instead.- Specified by:
getAttributes
in interfaceRunOrBuilder
-
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 interfaceRunOrBuilder
-
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 interfaceRunOrBuilder
-
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 interfaceRunOrBuilder
-
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 interfaceRunOrBuilder
- 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 interfaceRunOrBuilder
- 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 interfaceRunOrBuilder
-
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 interfaceRunOrBuilder
- 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 interfaceRunOrBuilder
- 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 interfaceRunOrBuilder
-
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 interfaceRunOrBuilder
- 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 interfaceRunOrBuilder
- Returns:
- The state.
-
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 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
-
parseFrom
public static Run parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Run parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Run parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
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 interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Run.Builder newBuilder()
-
newBuilder
public static Run.Builder newBuilder(Run prototype)
-
toBuilder
public Run.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Run.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Run getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-