public static final class AddContextChildrenRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddContextChildrenRequest.Builder> implements AddContextChildrenRequestOrBuilder
Request message for [MetadataService.AddContextChildren][google.cloud.aiplatform.v1beta1.MetadataService.AddContextChildren].Protobuf type
google.cloud.aiplatform.v1beta1.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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AddContextChildrenRequest |
build() |
AddContextChildrenRequest |
buildPartial() |
AddContextChildrenRequest.Builder |
clear() |
AddContextChildrenRequest.Builder |
clearChildContexts()
The resource names of the child Contexts.
|
AddContextChildrenRequest.Builder |
clearContext()
Required.
|
AddContextChildrenRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AddContextChildrenRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AddContextChildrenRequest.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
AddContextChildrenRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AddContextChildrenRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AddContextChildrenRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextChildrenRequest.Builder>public AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>public AddContextChildrenRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextChildrenRequest.Builder>public AddContextChildrenRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextChildrenRequest.Builder>public AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>public AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>public 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.GeneratedMessageV3.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.public final AddContextChildrenRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextChildrenRequest.Builder>public final AddContextChildrenRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddContextChildrenRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.