Package com.google.cloud.aiplatform.v1
Class AddContextChildrenRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AddContextChildrenRequest.Builder>
com.google.cloud.aiplatform.v1.AddContextChildrenRequest.Builder
- All Implemented Interfaces:
AddContextChildrenRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AddContextChildrenRequest
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllChildContexts(Iterable<String> values) The resource names of the child Contexts.addChildContexts(String value) The resource names of the child Contexts.addChildContextsBytes(com.google.protobuf.ByteString value) The resource names of the child Contexts.build()clear()The resource names of the child Contexts.Required.getChildContexts(int index) The resource names of the child Contexts.com.google.protobuf.ByteStringgetChildContextsBytes(int index) The resource names of the child Contexts.intThe resource names of the child Contexts.com.google.protobuf.ProtocolStringListThe resource names of the child Contexts.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setChildContexts(int index, String value) The resource names of the child Contexts.setContext(String value) Required.setContextBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AddContextChildrenRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AddContextChildrenRequest.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.GeneratedMessage.Builder<AddContextChildrenRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AddContextChildrenRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AddContextChildrenRequest.Builder>
-
mergeFrom
public AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getContextin interfaceAddContextChildrenRequestOrBuilder- Returns:
- The context.
-
getContextBytes
public 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) = { ... }- Specified by:
getContextBytesin interfaceAddContextChildrenRequestOrBuilder- Returns:
- The bytes for context.
-
setContext
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) = { ... }- Parameters:
value- The context to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Returns:
- This builder for chaining.
-
setContextBytes
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) = { ... }- Parameters:
value- The bytes for context to set.- Returns:
- This builder for chaining.
-
getChildContextsList
public com.google.protobuf.ProtocolStringList getChildContextsList()The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getChildContextsListin interfaceAddContextChildrenRequestOrBuilder- Returns:
- A list containing the childContexts.
-
getChildContextsCount
public int getChildContextsCount()The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getChildContextsCountin interfaceAddContextChildrenRequestOrBuilder- Returns:
- The count of childContexts.
-
getChildContexts
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getChildContextsin interfaceAddContextChildrenRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The childContexts at the given index.
-
getChildContextsBytes
public com.google.protobuf.ByteString getChildContextsBytes(int index) The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getChildContextsBytesin interfaceAddContextChildrenRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the childContexts at the given index.
-
setChildContexts
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The childContexts to set.- Returns:
- This builder for chaining.
-
addChildContexts
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The childContexts to add.- Returns:
- This builder for chaining.
-
addAllChildContexts
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }- Parameters:
values- The childContexts to add.- Returns:
- This builder for chaining.
-
clearChildContexts
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addChildContextsBytes
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) = { ... }- Parameters:
value- The bytes of the childContexts to add.- Returns:
- This builder for chaining.
-