- 3.48.0 (latest)
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class AddContextArtifactsAndExecutionsRequest.Builder extends GeneratedMessageV3.Builder<AddContextArtifactsAndExecutionsRequest.Builder> implements AddContextArtifactsAndExecutionsRequestOrBuilder
Request message for MetadataService.AddContextArtifactsAndExecutions.
Protobuf type google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AddContextArtifactsAndExecutionsRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllArtifacts(Iterable<String> values)
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) = { ... }
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The artifacts to add. |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
addAllExecutions(Iterable<String> values)
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) = { ... }
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The executions to add. |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
addArtifacts(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The artifacts to add. |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
addArtifactsBytes(ByteString value)
public AddContextArtifactsAndExecutionsRequest.Builder addArtifactsBytes(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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the artifacts to add. |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
addExecutions(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The executions to add. |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
addExecutionsBytes(ByteString value)
public AddContextArtifactsAndExecutionsRequest.Builder addExecutionsBytes(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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the executions to add. |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AddContextArtifactsAndExecutionsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |
build()
public AddContextArtifactsAndExecutionsRequest build()
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest |
buildPartial()
public AddContextArtifactsAndExecutionsRequest buildPartial()
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest |
clear()
public AddContextArtifactsAndExecutionsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |
clearArtifacts()
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) = { ... }
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
clearContext()
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) = { ... }
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
clearExecutions()
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) = { ... }
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AddContextArtifactsAndExecutionsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AddContextArtifactsAndExecutionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |
clone()
public AddContextArtifactsAndExecutionsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |
getArtifacts(int index)
public 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) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The artifacts at the given index. |
getArtifactsBytes(int index)
public 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) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the artifacts at the given index. |
getArtifactsCount()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
int | The count of artifacts. |
getArtifactsList()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the artifacts. |
getContext()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
String | The context. |
getContextBytes()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for context. |
getDefaultInstanceForType()
public AddContextArtifactsAndExecutionsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExecutions(int index)
public 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) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The executions at the given index. |
getExecutionsBytes(int index)
public 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) = { ... }
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the executions at the given index. |
getExecutionsCount()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
int | The count of executions. |
getExecutionsList()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the executions. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AddContextArtifactsAndExecutionsRequest other)
public AddContextArtifactsAndExecutionsRequest.Builder mergeFrom(AddContextArtifactsAndExecutionsRequest other)
Parameter | |
---|---|
Name | Description |
other | AddContextArtifactsAndExecutionsRequest |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AddContextArtifactsAndExecutionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AddContextArtifactsAndExecutionsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AddContextArtifactsAndExecutionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |
setArtifacts(int index, String value)
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) = { ... }
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The artifacts to set. |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
setContext(String value)
public 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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The context to set. |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
setContextBytes(ByteString value)
public AddContextArtifactsAndExecutionsRequest.Builder setContextBytes(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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for context to set. |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
setExecutions(int index, String value)
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) = { ... }
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The executions to set. |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AddContextArtifactsAndExecutionsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AddContextArtifactsAndExecutionsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AddContextArtifactsAndExecutionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AddContextArtifactsAndExecutionsRequest.Builder |