Package com.google.cloud.aiplatform.v1
Class Event.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
- com.google.cloud.aiplatform.v1.Event.Builder
-
- All Implemented Interfaces:
EventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Event
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 typegoogle.cloud.aiplatform.v1.Event
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Event.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Eventbuild()EventbuildPartial()Event.Builderclear()Event.BuilderclearArtifact()Required.Event.BuilderclearEventTime()Output only.Event.BuilderclearExecution()Output only.Event.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Event.BuilderclearLabels()Event.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Event.BuilderclearType()Required.Event.Builderclone()booleancontainsLabels(String key)The labels with user-defined metadata to annotate Events.StringgetArtifact()Required.com.google.protobuf.ByteStringgetArtifactBytes()Required.EventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetEventTime()Output only.com.google.protobuf.Timestamp.BuildergetEventTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetEventTimeOrBuilder()Output only.StringgetExecution()Output only.com.google.protobuf.ByteStringgetExecutionBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The labels with user-defined metadata to annotate Events.Map<String,String>getLabelsMap()The labels with user-defined metadata to annotate Events.StringgetLabelsOrDefault(String key, String defaultValue)The labels with user-defined metadata to annotate Events.StringgetLabelsOrThrow(String key)The labels with user-defined metadata to annotate Events.Map<String,String>getMutableLabels()Deprecated.Event.TypegetType()Required.intgetTypeValue()Required.booleanhasEventTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Event.BuildermergeEventTime(com.google.protobuf.Timestamp value)Output only.Event.BuildermergeFrom(Event other)Event.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Event.BuildermergeFrom(com.google.protobuf.Message other)Event.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Event.BuilderputAllLabels(Map<String,String> values)The labels with user-defined metadata to annotate Events.Event.BuilderputLabels(String key, String value)The labels with user-defined metadata to annotate Events.Event.BuilderremoveLabels(String key)The labels with user-defined metadata to annotate Events.Event.BuildersetArtifact(String value)Required.Event.BuildersetArtifactBytes(com.google.protobuf.ByteString value)Required.Event.BuildersetEventTime(com.google.protobuf.Timestamp value)Output only.Event.BuildersetEventTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Event.BuildersetExecution(String value)Output only.Event.BuildersetExecutionBytes(com.google.protobuf.ByteString value)Output only.Event.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Event.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Event.BuildersetType(Event.Type value)Required.Event.BuildersetTypeValue(int value)Required.Event.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
clear
public Event.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
getDefaultInstanceForType
public Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Event build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Event buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Event.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
setField
public Event.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
clearField
public Event.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
clearOneof
public Event.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
setRepeatedField
public Event.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
addRepeatedField
public Event.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
mergeFrom
public Event.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Event.Builder>
-
mergeFrom
public Event.Builder mergeFrom(Event other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
mergeFrom
public Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Event.Builder>- Throws:
IOException
-
getArtifact
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) = { ... }- Specified by:
getArtifactin interfaceEventOrBuilder- Returns:
- The artifact.
-
getArtifactBytes
public 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) = { ... }- Specified by:
getArtifactBytesin interfaceEventOrBuilder- Returns:
- The bytes for artifact.
-
setArtifact
public 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) = { ... }- Parameters:
value- The artifact to set.- Returns:
- This builder for chaining.
-
clearArtifact
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) = { ... }- Returns:
- This builder for chaining.
-
setArtifactBytes
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) = { ... }- Parameters:
value- The bytes for artifact to set.- Returns:
- This builder for chaining.
-
getExecution
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) = { ... }- Specified by:
getExecutionin interfaceEventOrBuilder- Returns:
- The execution.
-
getExecutionBytes
public 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) = { ... }- Specified by:
getExecutionBytesin interfaceEventOrBuilder- Returns:
- The bytes for execution.
-
setExecution
public 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) = { ... }- Parameters:
value- The execution to set.- Returns:
- This builder for chaining.
-
clearExecution
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) = { ... }- Returns:
- This builder for chaining.
-
setExecutionBytes
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) = { ... }- Parameters:
value- The bytes for execution to set.- Returns:
- This builder for chaining.
-
hasEventTime
public boolean hasEventTime()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEventTimein interfaceEventOrBuilder- Returns:
- Whether the eventTime field is set.
-
getEventTime
public com.google.protobuf.Timestamp getEventTime()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEventTimein interfaceEventOrBuilder- Returns:
- The eventTime.
-
setEventTime
public 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];
-
setEventTime
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];
-
mergeEventTime
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];
-
clearEventTime
public Event.Builder clearEventTime()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEventTimeBuilder
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];
-
getEventTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()
Output only. Time the Event occurred.
.google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEventTimeOrBuilderin interfaceEventOrBuilder
-
getTypeValue
public int getTypeValue()
Required. The type of the Event.
.google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTypeValuein interfaceEventOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public Event.Builder setTypeValue(int value)
Required. The type of the Event.
.google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public Event.Type getType()
Required. The type of the Event.
.google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTypein interfaceEventOrBuilder- Returns:
- The type.
-
setType
public 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];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Event.Builder clearType()
Required. The type of the Event.
.google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface: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;- Specified by:
getLabelsCountin interfaceEventOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceEventOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceEventOrBuilder
-
getLabelsMap
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;- Specified by:
getLabelsMapin interfaceEventOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceEventOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceEventOrBuilder
-
clearLabels
public Event.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
setUnknownFields
public final Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
mergeUnknownFields
public final Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
-
-