public final class Event extends GeneratedMessageV3 implements EventOrBuilder
An edge describing the relationship between an Artifact and an Execution in
a lineage graph.
Protobuf type google.cloud.aiplatform.v1beta1.Event
Fields
public static final int ARTIFACT_FIELD_NUMBER
Field Value
public static final int EVENT_TIME_FIELD_NUMBER
Field Value
public static final int EXECUTION_FIELD_NUMBER
Field Value
public static final int LABELS_FIELD_NUMBER
Field Value
public static final int TYPE_FIELD_NUMBER
Field Value
Methods
public boolean containsLabels(String key)
The labels with user-defined metadata to annotate Events.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
No more than 64 user labels can be associated with one Event (System
labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels.
System reserved label keys are prefixed with "aiplatform.googleapis.com/"
and are immutable.
map<string, string> labels = 5;
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public String getArtifact()
Required. The relative resource name of the Artifact in the Event.
string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The artifact.
|
public ByteString getArtifactBytes()
Required. The relative resource name of the Artifact in the Event.
string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public static Event getDefaultInstance()
Returns
public Event getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Timestamp getEventTime()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public TimestampOrBuilder getEventTimeOrBuilder()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public String getExecution()
Output only. The relative resource name of the Execution in the Event.
string execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The execution.
|
public ByteString getExecutionBytes()
Output only. The relative resource name of the Execution in the Event.
string execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns
public Map<String,String> getLabels()
Returns
public int getLabelsCount()
The labels with user-defined metadata to annotate Events.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
No more than 64 user labels can be associated with one Event (System
labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels.
System reserved label keys are prefixed with "aiplatform.googleapis.com/"
and are immutable.
map<string, string> labels = 5;
Returns
public Map<String,String> getLabelsMap()
The labels with user-defined metadata to annotate Events.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
No more than 64 user labels can be associated with one Event (System
labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels.
System reserved label keys are prefixed with "aiplatform.googleapis.com/"
and are immutable.
map<string, string> labels = 5;
Returns
public String getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to annotate Events.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
No more than 64 user labels can be associated with one Event (System
labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels.
System reserved label keys are prefixed with "aiplatform.googleapis.com/"
and are immutable.
map<string, string> labels = 5;
Parameters
Returns
public String getLabelsOrThrow(String key)
The labels with user-defined metadata to annotate Events.
Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
No more than 64 user labels can be associated with one Event (System
labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels.
System reserved label keys are prefixed with "aiplatform.googleapis.com/"
and are immutable.
map<string, string> labels = 5;
Parameter
Returns
public Parser<Event> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public Event.Type getType()
Required. The type of the Event.
.google.cloud.aiplatform.v1beta1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
public int getTypeValue()
Required. The type of the Event.
.google.cloud.aiplatform.v1beta1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The enum numeric value on the wire for type.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasEventTime()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the eventTime field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static Event.Builder newBuilder()
Returns
public static Event.Builder newBuilder(Event prototype)
Parameter
Name | Description |
prototype | Event
|
Returns
public Event.Builder newBuilderForType()
Returns
protected Event.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Event parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Event parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Event parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Event parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Event parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Event parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Event parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Event parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Event parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Event parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Event parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Event parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Event> parser()
Returns
public Event.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions