public static final class AddContextChildrenRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AddContextChildrenRequest.Builder> implements AddContextChildrenRequestOrBuilder
Request message for [MetadataService.AddContextChildren][google.cloud.aiplatform.v1.MetadataService.AddContextChildren].Protobuf type
google.cloud.aiplatform.v1.AddContextChildrenRequest| Modifier and Type | Method and Description |
|---|---|
AddContextChildrenRequest.Builder |
addAllChildContexts(Iterable<String> values)
The resource names of the child Contexts.
|
AddContextChildrenRequest.Builder |
addChildContexts(String value)
The resource names of the child Contexts.
|
AddContextChildrenRequest.Builder |
addChildContextsBytes(com.google.protobuf.ByteString value)
The resource names of the child Contexts.
|
AddContextChildrenRequest |
build() |
AddContextChildrenRequest |
buildPartial() |
AddContextChildrenRequest.Builder |
clear() |
AddContextChildrenRequest.Builder |
clearChildContexts()
The resource names of the child Contexts.
|
AddContextChildrenRequest.Builder |
clearContext()
Required.
|
String |
getChildContexts(int index)
The resource names of the child Contexts.
|
com.google.protobuf.ByteString |
getChildContextsBytes(int index)
The resource names of the child Contexts.
|
int |
getChildContextsCount()
The resource names of the child Contexts.
|
com.google.protobuf.ProtocolStringList |
getChildContextsList()
The resource names of the child Contexts.
|
String |
getContext()
Required.
|
com.google.protobuf.ByteString |
getContextBytes()
Required.
|
AddContextChildrenRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AddContextChildrenRequest.Builder |
mergeFrom(AddContextChildrenRequest other) |
AddContextChildrenRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AddContextChildrenRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AddContextChildrenRequest.Builder |
setChildContexts(int index,
String value)
The resource names of the child Contexts.
|
AddContextChildrenRequest.Builder |
setContext(String value)
Required.
|
AddContextChildrenRequest.Builder |
setContextBytes(com.google.protobuf.ByteString value)
Required.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AddContextChildrenRequest.Builder>public AddContextChildrenRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AddContextChildrenRequest.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.GeneratedMessage.Builder<AddContextChildrenRequest.Builder>public AddContextChildrenRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AddContextChildrenRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AddContextChildrenRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AddContextChildrenRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AddContextChildrenRequest.Builder>public AddContextChildrenRequest.Builder mergeFrom(AddContextChildrenRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AddContextChildrenRequest.Builder>public AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>IOExceptionpublic String getContext()
Required. The resource name of the parent Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getContext in interface AddContextChildrenRequestOrBuilderpublic com.google.protobuf.ByteString getContextBytes()
Required. The resource name of the parent Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getContextBytes in interface AddContextChildrenRequestOrBuilderpublic AddContextChildrenRequest.Builder setContext(String value)
Required. The resource name of the parent Context.
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 AddContextChildrenRequest.Builder clearContext()
Required. The resource name of the parent Context.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public AddContextChildrenRequest.Builder setContextBytes(com.google.protobuf.ByteString value)
Required. The resource name of the parent Context.
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 getChildContextsList()
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }getChildContextsList in interface AddContextChildrenRequestOrBuilderpublic int getChildContextsCount()
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }getChildContextsCount in interface AddContextChildrenRequestOrBuilderpublic String getChildContexts(int index)
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }getChildContexts in interface AddContextChildrenRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getChildContextsBytes(int index)
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }getChildContextsBytes in interface AddContextChildrenRequestOrBuilderindex - The index of the value to return.public AddContextChildrenRequest.Builder setChildContexts(int index, String value)
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }index - The index to set the value at.value - The childContexts to set.public AddContextChildrenRequest.Builder addChildContexts(String value)
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }value - The childContexts to add.public AddContextChildrenRequest.Builder addAllChildContexts(Iterable<String> values)
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }values - The childContexts to add.public AddContextChildrenRequest.Builder clearChildContexts()
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }public AddContextChildrenRequest.Builder addChildContextsBytes(com.google.protobuf.ByteString value)
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }value - The bytes of the childContexts to add.Copyright © 2026 Google LLC. All rights reserved.