Class BatchCreateFeaturesRequest.Builder (3.23.0)

public static final class BatchCreateFeaturesRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateFeaturesRequest.Builder> implements BatchCreateFeaturesRequestOrBuilder

Request message for FeaturestoreService.BatchCreateFeatures.

Protobuf type google.cloud.aiplatform.v1.BatchCreateFeaturesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRequests(Iterable<? extends CreateFeatureRequest> values)

public BatchCreateFeaturesRequest.Builder addAllRequests(Iterable<? extends CreateFeatureRequest> values)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.CreateFeatureRequest>
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateFeaturesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder
Overrides

addRequests(CreateFeatureRequest value)

public BatchCreateFeaturesRequest.Builder addRequests(CreateFeatureRequest value)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueCreateFeatureRequest
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

addRequests(CreateFeatureRequest.Builder builderForValue)

public BatchCreateFeaturesRequest.Builder addRequests(CreateFeatureRequest.Builder builderForValue)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueCreateFeatureRequest.Builder
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

addRequests(int index, CreateFeatureRequest value)

public BatchCreateFeaturesRequest.Builder addRequests(int index, CreateFeatureRequest value)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueCreateFeatureRequest
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

addRequests(int index, CreateFeatureRequest.Builder builderForValue)

public BatchCreateFeaturesRequest.Builder addRequests(int index, CreateFeatureRequest.Builder builderForValue)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueCreateFeatureRequest.Builder
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

addRequestsBuilder()

public CreateFeatureRequest.Builder addRequestsBuilder()

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateFeatureRequest.Builder

addRequestsBuilder(int index)

public CreateFeatureRequest.Builder addRequestsBuilder(int index)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateFeatureRequest.Builder

build()

public BatchCreateFeaturesRequest build()
Returns
TypeDescription
BatchCreateFeaturesRequest

buildPartial()

public BatchCreateFeaturesRequest buildPartial()
Returns
TypeDescription
BatchCreateFeaturesRequest

clear()

public BatchCreateFeaturesRequest.Builder clear()
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchCreateFeaturesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchCreateFeaturesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder
Overrides

clearParent()

public BatchCreateFeaturesRequest.Builder clearParent()

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

This builder for chaining.

clearRequests()

public BatchCreateFeaturesRequest.Builder clearRequests()

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

clone()

public BatchCreateFeaturesRequest.Builder clone()
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchCreateFeaturesRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateFeaturesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getRequests(int index)

public CreateFeatureRequest getRequests(int index)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateFeatureRequest

getRequestsBuilder(int index)

public CreateFeatureRequest.Builder getRequestsBuilder(int index)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateFeatureRequest.Builder

getRequestsBuilderList()

public List<CreateFeatureRequest.Builder> getRequestsBuilderList()

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getRequestsList()

public List<CreateFeatureRequest> getRequestsList()

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<CreateFeatureRequest>

getRequestsOrBuilder(int index)

public CreateFeatureRequestOrBuilder getRequestsOrBuilder(int index)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateFeatureRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends CreateFeatureRequestOrBuilder> getRequestsOrBuilderList()

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.CreateFeatureRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchCreateFeaturesRequest other)

public BatchCreateFeaturesRequest.Builder mergeFrom(BatchCreateFeaturesRequest other)
Parameter
NameDescription
otherBatchCreateFeaturesRequest
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateFeaturesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchCreateFeaturesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateFeaturesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder
Overrides

removeRequests(int index)

public BatchCreateFeaturesRequest.Builder removeRequests(int index)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateFeaturesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder
Overrides

setParent(String value)

public BatchCreateFeaturesRequest.Builder setParent(String value)

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchCreateFeaturesRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the EntityType to create the batch of Features under. Format: projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchCreateFeaturesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder
Overrides

setRequests(int index, CreateFeatureRequest value)

public BatchCreateFeaturesRequest.Builder setRequests(int index, CreateFeatureRequest value)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueCreateFeatureRequest
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

setRequests(int index, CreateFeatureRequest.Builder builderForValue)

public BatchCreateFeaturesRequest.Builder setRequests(int index, CreateFeatureRequest.Builder builderForValue)

Required. The request message specifying the Features to create. All Features must be created under the same parent EntityType. The parent field in each child request message can be omitted. If parent is set in a child request, then the value must match the parent value in this request message.

repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueCreateFeatureRequest.Builder
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateFeaturesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCreateFeaturesRequest.Builder
Overrides