public final class Run extends GeneratedMessageV3 implements RunOrBuilder
A lineage run represents an execution of a process that creates
lineage events.
Protobuf type google.cloud.datacatalog.lineage.v1.Run
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Run getDefaultInstance()
Returns |
---|
Type | Description |
Run | |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Run.Builder newBuilder()
newBuilder(Run prototype)
public static Run.Builder newBuilder(Run prototype)
Parameter |
---|
Name | Description |
prototype | Run
|
public static Run parseDelimitedFrom(InputStream input)
Returns |
---|
Type | Description |
Run | |
public static Run parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Run | |
parseFrom(byte[] data)
public static Run parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
Returns |
---|
Type | Description |
Run | |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Run parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Run | |
parseFrom(ByteString data)
public static Run parseFrom(ByteString data)
Returns |
---|
Type | Description |
Run | |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Run parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Run | |
public static Run parseFrom(CodedInputStream input)
Returns |
---|
Type | Description |
Run | |
public static Run parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Run | |
public static Run parseFrom(InputStream input)
Returns |
---|
Type | Description |
Run | |
public static Run parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Run | |
parseFrom(ByteBuffer data)
public static Run parseFrom(ByteBuffer data)
Returns |
---|
Type | Description |
Run | |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Run parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Run | |
parser()
public static Parser<Run> parser()
Methods
containsAttributes(String key)
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];
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAttributes()
public Map<String,Value> getAttributes()
getAttributesCount()
public int getAttributesCount()
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];
Returns |
---|
Type | Description |
int | |
getAttributesMap()
public Map<String,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];
getAttributesOrDefault(String key, Value defaultValue)
public Value getAttributesOrDefault(String key, 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];
Returns |
---|
Type | Description |
Value | |
getAttributesOrThrow(String key)
public 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];
Parameter |
---|
Name | Description |
key | String
|
Returns |
---|
Type | Description |
Value | |
getDefaultInstanceForType()
public Run getDefaultInstanceForType()
Returns |
---|
Type | Description |
Run | |
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];
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public 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];
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
getEndTime()
public Timestamp getEndTime()
Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL];
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL];
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];
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public 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];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<Run> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getStartTime()
public Timestamp getStartTime()
Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Timestamp | The startTime.
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED];
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];
getStateValue()
public int getStateValue()
Required. The state of the run.
.google.cloud.datacatalog.lineage.v1.Run.State state = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
hasEndTime()
public boolean hasEndTime()
Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the endTime field is set.
|
hasStartTime()
public boolean hasStartTime()
Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the startTime field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Run.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Run.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Run.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides