public static final class Event.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder> implements EventOrBuilder
An edge describing the relationship between an Artifact and an Execution in a lineage graph.Protobuf type
google.cloud.aiplatform.v1.Event| Modifier and Type | Method and Description |
|---|---|
Event.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Event |
build() |
Event |
buildPartial() |
Event.Builder |
clear() |
Event.Builder |
clearArtifact()
Required.
|
Event.Builder |
clearEventTime()
Output only.
|
Event.Builder |
clearExecution()
Output only.
|
Event.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Event.Builder |
clearLabels() |
Event.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Event.Builder |
clearType()
Required.
|
Event.Builder |
clone() |
boolean |
containsLabels(String key)
The labels with user-defined metadata to annotate Events.
|
String |
getArtifact()
Required.
|
com.google.protobuf.ByteString |
getArtifactBytes()
Required.
|
Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEventTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getEventTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEventTimeOrBuilder()
Output only.
|
String |
getExecution()
Output only.
|
com.google.protobuf.ByteString |
getExecutionBytes()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels with user-defined metadata to annotate Events.
|
Map<String,String> |
getLabelsMap()
The labels with user-defined metadata to annotate Events.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels with user-defined metadata to annotate Events.
|
String |
getLabelsOrThrow(String key)
The labels with user-defined metadata to annotate Events.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
Event.Type |
getType()
Required.
|
int |
getTypeValue()
Required.
|
boolean |
hasEventTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Event.Builder |
mergeEventTime(com.google.protobuf.Timestamp value)
Output only.
|
Event.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Event.Builder |
mergeFrom(Event other) |
Event.Builder |
mergeFrom(com.google.protobuf.Message other) |
Event.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Event.Builder |
putAllLabels(Map<String,String> values)
The labels with user-defined metadata to annotate Events.
|
Event.Builder |
putLabels(String key,
String value)
The labels with user-defined metadata to annotate Events.
|
Event.Builder |
removeLabels(String key)
The labels with user-defined metadata to annotate Events.
|
Event.Builder |
setArtifact(String value)
Required.
|
Event.Builder |
setArtifactBytes(com.google.protobuf.ByteString value)
Required.
|
Event.Builder |
setEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Event.Builder |
setEventTime(com.google.protobuf.Timestamp value)
Output only.
|
Event.Builder |
setExecution(String value)
Output only.
|
Event.Builder |
setExecutionBytes(com.google.protobuf.ByteString value)
Output only.
|
Event.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Event.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Event.Builder |
setType(Event.Type value)
Required.
|
Event.Builder |
setTypeValue(int value)
Required.
|
Event.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Event build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Event buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Event.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Event.Builder>public Event.Builder mergeFrom(Event other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Event.Builder>IOExceptionpublic 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) = { ... }
getArtifact in interface EventOrBuilderpublic com.google.protobuf.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) = { ... }
getArtifactBytes in interface EventOrBuilderpublic Event.Builder setArtifact(String value)
Required. The relative resource name of the Artifact in the Event.
string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The artifact to set.public Event.Builder clearArtifact()
Required. The relative resource name of the Artifact in the Event.
string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public Event.Builder setArtifactBytes(com.google.protobuf.ByteString value)
Required. The relative resource name of the Artifact in the Event.
string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for artifact to set.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) = { ... }
getExecution in interface EventOrBuilderpublic com.google.protobuf.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) = { ... }
getExecutionBytes in interface EventOrBuilderpublic Event.Builder setExecution(String value)
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) = { ... }
value - The execution to set.public Event.Builder clearExecution()
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) = { ... }
public Event.Builder setExecutionBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for execution to set.public boolean hasEventTime()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEventTime in interface EventOrBuilderpublic com.google.protobuf.Timestamp getEventTime()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEventTime in interface EventOrBuilderpublic Event.Builder setEventTime(com.google.protobuf.Timestamp value)
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Event.Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Event.Builder mergeEventTime(com.google.protobuf.Timestamp value)
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Event.Builder clearEventTime()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getEventTimeBuilder()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEventTimeOrBuilder in interface EventOrBuilderpublic int getTypeValue()
Required. The type of the Event.
.google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED];
getTypeValue in interface EventOrBuilderpublic Event.Builder setTypeValue(int value)
Required. The type of the Event.
.google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for type to set.public Event.Type getType()
Required. The type of the Event.
.google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED];
getType in interface EventOrBuilderpublic Event.Builder setType(Event.Type value)
Required. The type of the Event.
.google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED];
value - The type to set.public Event.Builder clearType()
Required. The type of the Event.
.google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED];
public int getLabelsCount()
EventOrBuilderThe 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;getLabelsCount in interface EventOrBuilderpublic 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;containsLabels in interface EventOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface EventOrBuilderpublic 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;getLabelsMap in interface EventOrBuilderpublic 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;getLabelsOrDefault in interface EventOrBuilderpublic 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;getLabelsOrThrow in interface EventOrBuilderpublic Event.Builder clearLabels()
public Event.Builder removeLabels(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;@Deprecated public Map<String,String> getMutableLabels()
public Event.Builder putLabels(String key, String value)
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;public Event.Builder putAllLabels(Map<String,String> values)
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;public final Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public final Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>Copyright © 2025 Google LLC. All rights reserved.