public static final class AddContextArtifactsAndExecutionsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddContextArtifactsAndExecutionsRequest.Builder> implements AddContextArtifactsAndExecutionsRequestOrBuilder
Request message for [MetadataService.AddContextArtifactsAndExecutions][google.cloud.aiplatform.v1beta1.MetadataService.AddContextArtifactsAndExecutions].Protobuf type
google.cloud.aiplatform.v1beta1.AddContextArtifactsAndExecutionsRequest| Modifier and Type | Method and Description |
|---|---|
AddContextArtifactsAndExecutionsRequest.Builder |
addAllArtifacts(Iterable<String> values)
The resource names of the Artifacts to attribute to the Context.
|
AddContextArtifactsAndExecutionsRequest.Builder |
addAllExecutions(Iterable<String> values)
The resource names of the Executions to associate with the
Context.
|
AddContextArtifactsAndExecutionsRequest.Builder |
addArtifacts(String value)
The resource names of the Artifacts to attribute to the Context.
|
AddContextArtifactsAndExecutionsRequest.Builder |
addArtifactsBytes(com.google.protobuf.ByteString value)
The resource names of the Artifacts to attribute to the Context.
|
AddContextArtifactsAndExecutionsRequest.Builder |
addExecutions(String value)
The resource names of the Executions to associate with the
Context.
|
AddContextArtifactsAndExecutionsRequest.Builder |
addExecutionsBytes(com.google.protobuf.ByteString value)
The resource names of the Executions to associate with the
Context.
|
AddContextArtifactsAndExecutionsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AddContextArtifactsAndExecutionsRequest |
build() |
AddContextArtifactsAndExecutionsRequest |
buildPartial() |
AddContextArtifactsAndExecutionsRequest.Builder |
clear() |
AddContextArtifactsAndExecutionsRequest.Builder |
clearArtifacts()
The resource names of the Artifacts to attribute to the Context.
|
AddContextArtifactsAndExecutionsRequest.Builder |
clearContext()
Required.
|
AddContextArtifactsAndExecutionsRequest.Builder |
clearExecutions()
The resource names of the Executions to associate with the
Context.
|
AddContextArtifactsAndExecutionsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AddContextArtifactsAndExecutionsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AddContextArtifactsAndExecutionsRequest.Builder |
clone() |
String |
getArtifacts(int index)
The resource names of the Artifacts to attribute to the Context.
|
com.google.protobuf.ByteString |
getArtifactsBytes(int index)
The resource names of the Artifacts to attribute to the Context.
|
int |
getArtifactsCount()
The resource names of the Artifacts to attribute to the Context.
|
com.google.protobuf.ProtocolStringList |
getArtifactsList()
The resource names of the Artifacts to attribute to the Context.
|
String |
getContext()
Required.
|
com.google.protobuf.ByteString |
getContextBytes()
Required.
|
AddContextArtifactsAndExecutionsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExecutions(int index)
The resource names of the Executions to associate with the
Context.
|
com.google.protobuf.ByteString |
getExecutionsBytes(int index)
The resource names of the Executions to associate with the
Context.
|
int |
getExecutionsCount()
The resource names of the Executions to associate with the
Context.
|
com.google.protobuf.ProtocolStringList |
getExecutionsList()
The resource names of the Executions to associate with the
Context.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AddContextArtifactsAndExecutionsRequest.Builder |
mergeFrom(AddContextArtifactsAndExecutionsRequest other) |
AddContextArtifactsAndExecutionsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AddContextArtifactsAndExecutionsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AddContextArtifactsAndExecutionsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AddContextArtifactsAndExecutionsRequest.Builder |
setArtifacts(int index,
String value)
The resource names of the Artifacts to attribute to the Context.
|
AddContextArtifactsAndExecutionsRequest.Builder |
setContext(String value)
Required.
|
AddContextArtifactsAndExecutionsRequest.Builder |
setContextBytes(com.google.protobuf.ByteString value)
Required.
|
AddContextArtifactsAndExecutionsRequest.Builder |
setExecutions(int index,
String value)
The resource names of the Executions to associate with the
Context.
|
AddContextArtifactsAndExecutionsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AddContextArtifactsAndExecutionsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AddContextArtifactsAndExecutionsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextArtifactsAndExecutionsRequest.Builder>public AddContextArtifactsAndExecutionsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextArtifactsAndExecutionsRequest.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<AddContextArtifactsAndExecutionsRequest.Builder>public AddContextArtifactsAndExecutionsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AddContextArtifactsAndExecutionsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AddContextArtifactsAndExecutionsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AddContextArtifactsAndExecutionsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextArtifactsAndExecutionsRequest.Builder>public AddContextArtifactsAndExecutionsRequest.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<AddContextArtifactsAndExecutionsRequest.Builder>public AddContextArtifactsAndExecutionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextArtifactsAndExecutionsRequest.Builder>public AddContextArtifactsAndExecutionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextArtifactsAndExecutionsRequest.Builder>public AddContextArtifactsAndExecutionsRequest.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<AddContextArtifactsAndExecutionsRequest.Builder>public AddContextArtifactsAndExecutionsRequest.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<AddContextArtifactsAndExecutionsRequest.Builder>public AddContextArtifactsAndExecutionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AddContextArtifactsAndExecutionsRequest.Builder>public AddContextArtifactsAndExecutionsRequest.Builder mergeFrom(AddContextArtifactsAndExecutionsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextArtifactsAndExecutionsRequest.Builder>public AddContextArtifactsAndExecutionsRequest.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<AddContextArtifactsAndExecutionsRequest.Builder>IOExceptionpublic String getContext()
Required. The resource name of the Context that the Artifacts and Executions
belong to.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getContext in interface AddContextArtifactsAndExecutionsRequestOrBuilderpublic com.google.protobuf.ByteString getContextBytes()
Required. The resource name of the Context that the Artifacts and Executions
belong to.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getContextBytes in interface AddContextArtifactsAndExecutionsRequestOrBuilderpublic AddContextArtifactsAndExecutionsRequest.Builder setContext(String value)
Required. The resource name of the Context that the Artifacts and Executions
belong to.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The context to set.public AddContextArtifactsAndExecutionsRequest.Builder clearContext()
Required. The resource name of the Context that the Artifacts and Executions
belong to.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public AddContextArtifactsAndExecutionsRequest.Builder setContextBytes(com.google.protobuf.ByteString value)
Required. The resource name of the Context that the Artifacts and Executions
belong to.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for context to set.public com.google.protobuf.ProtocolStringList getArtifactsList()
The resource names of the Artifacts to attribute to the Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
repeated string artifacts = 2 [(.google.api.resource_reference) = { ... }getArtifactsList in interface AddContextArtifactsAndExecutionsRequestOrBuilderpublic int getArtifactsCount()
The resource names of the Artifacts to attribute to the Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
repeated string artifacts = 2 [(.google.api.resource_reference) = { ... }getArtifactsCount in interface AddContextArtifactsAndExecutionsRequestOrBuilderpublic String getArtifacts(int index)
The resource names of the Artifacts to attribute to the Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
repeated string artifacts = 2 [(.google.api.resource_reference) = { ... }getArtifacts in interface AddContextArtifactsAndExecutionsRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getArtifactsBytes(int index)
The resource names of the Artifacts to attribute to the Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
repeated string artifacts = 2 [(.google.api.resource_reference) = { ... }getArtifactsBytes in interface AddContextArtifactsAndExecutionsRequestOrBuilderindex - The index of the value to return.public AddContextArtifactsAndExecutionsRequest.Builder setArtifacts(int index, String value)
The resource names of the Artifacts to attribute to the Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
repeated string artifacts = 2 [(.google.api.resource_reference) = { ... }index - The index to set the value at.value - The artifacts to set.public AddContextArtifactsAndExecutionsRequest.Builder addArtifacts(String value)
The resource names of the Artifacts to attribute to the Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
repeated string artifacts = 2 [(.google.api.resource_reference) = { ... }value - The artifacts to add.public AddContextArtifactsAndExecutionsRequest.Builder addAllArtifacts(Iterable<String> values)
The resource names of the Artifacts to attribute to the Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
repeated string artifacts = 2 [(.google.api.resource_reference) = { ... }values - The artifacts to add.public AddContextArtifactsAndExecutionsRequest.Builder clearArtifacts()
The resource names of the Artifacts to attribute to the Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
repeated string artifacts = 2 [(.google.api.resource_reference) = { ... }public AddContextArtifactsAndExecutionsRequest.Builder addArtifactsBytes(com.google.protobuf.ByteString value)
The resource names of the Artifacts to attribute to the Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`
repeated string artifacts = 2 [(.google.api.resource_reference) = { ... }value - The bytes of the artifacts to add.public com.google.protobuf.ProtocolStringList getExecutionsList()
The resource names of the Executions to associate with the
Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
repeated string executions = 3 [(.google.api.resource_reference) = { ... }getExecutionsList in interface AddContextArtifactsAndExecutionsRequestOrBuilderpublic int getExecutionsCount()
The resource names of the Executions to associate with the
Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
repeated string executions = 3 [(.google.api.resource_reference) = { ... }getExecutionsCount in interface AddContextArtifactsAndExecutionsRequestOrBuilderpublic String getExecutions(int index)
The resource names of the Executions to associate with the
Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
repeated string executions = 3 [(.google.api.resource_reference) = { ... }getExecutions in interface AddContextArtifactsAndExecutionsRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExecutionsBytes(int index)
The resource names of the Executions to associate with the
Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
repeated string executions = 3 [(.google.api.resource_reference) = { ... }getExecutionsBytes in interface AddContextArtifactsAndExecutionsRequestOrBuilderindex - The index of the value to return.public AddContextArtifactsAndExecutionsRequest.Builder setExecutions(int index, String value)
The resource names of the Executions to associate with the
Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
repeated string executions = 3 [(.google.api.resource_reference) = { ... }index - The index to set the value at.value - The executions to set.public AddContextArtifactsAndExecutionsRequest.Builder addExecutions(String value)
The resource names of the Executions to associate with the
Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
repeated string executions = 3 [(.google.api.resource_reference) = { ... }value - The executions to add.public AddContextArtifactsAndExecutionsRequest.Builder addAllExecutions(Iterable<String> values)
The resource names of the Executions to associate with the
Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
repeated string executions = 3 [(.google.api.resource_reference) = { ... }values - The executions to add.public AddContextArtifactsAndExecutionsRequest.Builder clearExecutions()
The resource names of the Executions to associate with the
Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
repeated string executions = 3 [(.google.api.resource_reference) = { ... }public AddContextArtifactsAndExecutionsRequest.Builder addExecutionsBytes(com.google.protobuf.ByteString value)
The resource names of the Executions to associate with the
Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
repeated string executions = 3 [(.google.api.resource_reference) = { ... }value - The bytes of the executions to add.public final AddContextArtifactsAndExecutionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextArtifactsAndExecutionsRequest.Builder>public final AddContextArtifactsAndExecutionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextArtifactsAndExecutionsRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.