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.v1beta1.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.v1beta1.RemoveContextChildrenRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoveContextChildrenRequest.Builder
addAllChildContexts(Iterable<String> values)
The resource names of the child Contexts.RemoveContextChildrenRequest.Builder
addChildContexts(String value)
The resource names of the child Contexts.RemoveContextChildrenRequest.Builder
addChildContextsBytes(com.google.protobuf.ByteString value)
The resource names of the child Contexts.RemoveContextChildrenRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RemoveContextChildrenRequest
build()
RemoveContextChildrenRequest
buildPartial()
RemoveContextChildrenRequest.Builder
clear()
RemoveContextChildrenRequest.Builder
clearChildContexts()
The resource names of the child Contexts.RemoveContextChildrenRequest.Builder
clearContext()
Required.RemoveContextChildrenRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RemoveContextChildrenRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RemoveContextChildrenRequest.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.RemoveContextChildrenRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RemoveContextChildrenRequest.Builder
mergeFrom(RemoveContextChildrenRequest other)
RemoveContextChildrenRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RemoveContextChildrenRequest.Builder
mergeFrom(com.google.protobuf.Message other)
RemoveContextChildrenRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RemoveContextChildrenRequest.Builder
setChildContexts(int index, String value)
The resource names of the child Contexts.RemoveContextChildrenRequest.Builder
setContext(String value)
Required.RemoveContextChildrenRequest.Builder
setContextBytes(com.google.protobuf.ByteString value)
Required.RemoveContextChildrenRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RemoveContextChildrenRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RemoveContextChildrenRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
clear
public RemoveContextChildrenRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
getDefaultInstanceForType
public RemoveContextChildrenRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RemoveContextChildrenRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RemoveContextChildrenRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RemoveContextChildrenRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
setField
public RemoveContextChildrenRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
clearField
public RemoveContextChildrenRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
clearOneof
public RemoveContextChildrenRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
setRepeatedField
public RemoveContextChildrenRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
addRepeatedField
public RemoveContextChildrenRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
mergeFrom
public RemoveContextChildrenRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RemoveContextChildrenRequest.Builder>
-
mergeFrom
public RemoveContextChildrenRequest.Builder mergeFrom(RemoveContextChildrenRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getContext
in 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:
getContextBytes
in 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:
getChildContextsList
in 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:
getChildContextsCount
in 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:
getChildContexts
in 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:
getChildContextsBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
mergeUnknownFields
public final RemoveContextChildrenRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RemoveContextChildrenRequest.Builder>
-
-