Package com.google.cloud.aiplatform.v1
Class RemoveContextChildrenRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
- com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest.Builder
-
- All Implemented Interfaces:
RemoveContextChildrenRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RemoveContextChildrenRequest
public static final class RemoveContextChildrenRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder> implements RemoveContextChildrenRequestOrBuilder
Request message for [MetadataService.DeleteContextChildrenRequest][].
Protobuf typegoogle.cloud.aiplatform.v1.RemoveContextChildrenRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoveContextChildrenRequest.BuilderaddAllChildContexts(Iterable<String> values)The resource names of the child Contexts.RemoveContextChildrenRequest.BuilderaddChildContexts(String value)The resource names of the child Contexts.RemoveContextChildrenRequest.BuilderaddChildContextsBytes(com.google.protobuf.ByteString value)The resource names of the child Contexts.RemoveContextChildrenRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RemoveContextChildrenRequestbuild()RemoveContextChildrenRequestbuildPartial()RemoveContextChildrenRequest.Builderclear()RemoveContextChildrenRequest.BuilderclearChildContexts()The resource names of the child Contexts.RemoveContextChildrenRequest.BuilderclearContext()Required.RemoveContextChildrenRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RemoveContextChildrenRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RemoveContextChildrenRequest.Builderclone()StringgetChildContexts(int index)The resource names of the child Contexts.com.google.protobuf.ByteStringgetChildContextsBytes(int index)The resource names of the child Contexts.intgetChildContextsCount()The resource names of the child Contexts.com.google.protobuf.ProtocolStringListgetChildContextsList()The resource names of the child Contexts.StringgetContext()Required.com.google.protobuf.ByteStringgetContextBytes()Required.RemoveContextChildrenRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RemoveContextChildrenRequest.BuildermergeFrom(RemoveContextChildrenRequest other)RemoveContextChildrenRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RemoveContextChildrenRequest.BuildermergeFrom(com.google.protobuf.Message other)RemoveContextChildrenRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RemoveContextChildrenRequest.BuildersetChildContexts(int index, String value)The resource names of the child Contexts.RemoveContextChildrenRequest.BuildersetContext(String value)Required.RemoveContextChildrenRequest.BuildersetContextBytes(com.google.protobuf.ByteString value)Required.RemoveContextChildrenRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RemoveContextChildrenRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RemoveContextChildrenRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
clear
public RemoveContextChildrenRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.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.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
getDefaultInstanceForType
public RemoveContextChildrenRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RemoveContextChildrenRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RemoveContextChildrenRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RemoveContextChildrenRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
setField
public RemoveContextChildrenRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
clearField
public RemoveContextChildrenRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
clearOneof
public RemoveContextChildrenRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
setRepeatedField
public RemoveContextChildrenRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
addRepeatedField
public RemoveContextChildrenRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
mergeFrom
public RemoveContextChildrenRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RemoveContextChildrenRequest.Builder>
-
mergeFrom
public RemoveContextChildrenRequest.Builder mergeFrom(RemoveContextChildrenRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
mergeFrom
public RemoveContextChildrenRequest.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<RemoveContextChildrenRequest.Builder>- Throws:
IOException
-
getContext
public 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) = { ... }- Specified by:
getContextin interfaceRemoveContextChildrenRequestOrBuilder- 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 interfaceRemoveContextChildrenRequestOrBuilder- Returns:
- The bytes for context.
-
setContext
public RemoveContextChildrenRequest.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) = { ... }- Parameters:
value- The context to set.- Returns:
- This builder for chaining.
-
clearContext
public RemoveContextChildrenRequest.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) = { ... }- Returns:
- This builder for chaining.
-
setContextBytes
public RemoveContextChildrenRequest.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) = { ... }- 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 interfaceRemoveContextChildrenRequestOrBuilder- 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 interfaceRemoveContextChildrenRequestOrBuilder- Returns:
- The count of childContexts.
-
getChildContexts
public String getChildContexts(int index)
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getChildContextsin interfaceRemoveContextChildrenRequestOrBuilder- 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 interfaceRemoveContextChildrenRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the childContexts at the given index.
-
setChildContexts
public RemoveContextChildrenRequest.Builder setChildContexts(int index, String value)
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
public RemoveContextChildrenRequest.Builder addChildContexts(String value)
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
public RemoveContextChildrenRequest.Builder addAllChildContexts(Iterable<String> values)
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
public RemoveContextChildrenRequest.Builder clearChildContexts()
The resource names of the child Contexts.
repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addChildContextsBytes
public RemoveContextChildrenRequest.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.
-
setUnknownFields
public final RemoveContextChildrenRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
mergeUnknownFields
public final RemoveContextChildrenRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
-