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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AddContextChildrenRequest.Builder> implements AddContextChildrenRequestOrBuilder
Request message for [MetadataService.AddContextChildren][google.cloud.aiplatform.v1.MetadataService.AddContextChildren].
Protobuf typegoogle.cloud.aiplatform.v1.AddContextChildrenRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
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<AddContextChildrenRequest.Builder>
-
clear
public AddContextChildrenRequest.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<AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>
-
getDefaultInstanceForType
public AddContextChildrenRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AddContextChildrenRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AddContextChildrenRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>
-
setField
public AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>
-
clearField
public AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>
-
clearOneof
public AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>
-
setRepeatedField
public AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>
-
addRepeatedField
public AddContextChildrenRequest.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<AddContextChildrenRequest.Builder>
-
mergeFrom
public AddContextChildrenRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AddContextChildrenRequest.Builder>
-
mergeFrom
public AddContextChildrenRequest.Builder mergeFrom(AddContextChildrenRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddContextChildrenRequest.Builder>
-
mergeFrom
public AddContextChildrenRequest.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<AddContextChildrenRequest.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 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:
getContextBytes
in interfaceAddContextChildrenRequestOrBuilder
- Returns:
- The bytes for context.
-
setContext
public 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) = { ... }
- Parameters:
value
- The context to set.- Returns:
- This builder for chaining.
-
clearContext
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) = { ... }
- Returns:
- This builder for chaining.
-
setContextBytes
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) = { ... }
- 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 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:
getChildContextsCount
in interfaceAddContextChildrenRequestOrBuilder
- 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 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:
getChildContextsBytes
in interfaceAddContextChildrenRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the childContexts at the given index.
-
setChildContexts
public AddContextChildrenRequest.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 AddContextChildrenRequest.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 AddContextChildrenRequest.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 AddContextChildrenRequest.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 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.
-
setUnknownFields
public final AddContextChildrenRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddContextChildrenRequest.Builder>
-
mergeUnknownFields
public final AddContextChildrenRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddContextChildrenRequest.Builder>
-
-