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
Static Fields
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Run getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Run.Builder newBuilder()
Returns
newBuilder(Run prototype)
public static Run.Builder newBuilder(Run prototype)
Parameter
Name | Description |
prototype | Run
|
Returns
public static Run parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Run parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Run parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Run parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Run parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Run parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Run parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Run parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Run parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Run parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Run parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Run parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Run> parser()
Returns
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAttributes()
public Map<String,Value> getAttributes()
Returns
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
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];
Returns
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];
Parameters
Returns
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
Returns
getDefaultInstanceForType()
public Run getDefaultInstanceForType()
Returns
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];
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Optional. The timestamp of the end of the run.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
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
getParserForType()
public Parser<Run> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Required. The timestamp of the start of the run.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
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];
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Run.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Run.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Run.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions