Class CreateFeatureGroupRequest.Builder (3.54.0)

public static final class CreateFeatureGroupRequest.Builder extends GeneratedMessageV3.Builder<CreateFeatureGroupRequest.Builder> implements CreateFeatureGroupRequestOrBuilder

Request message for FeatureRegistryService.CreateFeatureGroup.

Protobuf type google.cloud.aiplatform.v1beta1.CreateFeatureGroupRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateFeatureGroupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateFeatureGroupRequest.Builder
Overrides

build()

public CreateFeatureGroupRequest build()
Returns
Type Description
CreateFeatureGroupRequest

buildPartial()

public CreateFeatureGroupRequest buildPartial()
Returns
Type Description
CreateFeatureGroupRequest

clear()

public CreateFeatureGroupRequest.Builder clear()
Returns
Type Description
CreateFeatureGroupRequest.Builder
Overrides

clearFeatureGroup()

public CreateFeatureGroupRequest.Builder clearFeatureGroup()

Required. The FeatureGroup to create.

.google.cloud.aiplatform.v1beta1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateFeatureGroupRequest.Builder

clearFeatureGroupId()

public CreateFeatureGroupRequest.Builder clearFeatureGroupId()

Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within the project and location.

string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateFeatureGroupRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateFeatureGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateFeatureGroupRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateFeatureGroupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateFeatureGroupRequest.Builder
Overrides

clearParent()

public CreateFeatureGroupRequest.Builder clearParent()

Required. The resource name of the Location to create FeatureGroups. Format: projects/{project}/locations/{location}

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

Returns
Type Description
CreateFeatureGroupRequest.Builder

This builder for chaining.

clone()

public CreateFeatureGroupRequest.Builder clone()
Returns
Type Description
CreateFeatureGroupRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateFeatureGroupRequest getDefaultInstanceForType()
Returns
Type Description
CreateFeatureGroupRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFeatureGroup()

public FeatureGroup getFeatureGroup()

Required. The FeatureGroup to create.

.google.cloud.aiplatform.v1beta1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureGroup

The featureGroup.

getFeatureGroupBuilder()

public FeatureGroup.Builder getFeatureGroupBuilder()

Required. The FeatureGroup to create.

.google.cloud.aiplatform.v1beta1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureGroup.Builder

getFeatureGroupId()

public String getFeatureGroupId()

Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within the project and location.

string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The featureGroupId.

getFeatureGroupIdBytes()

public ByteString getFeatureGroupIdBytes()

Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within the project and location.

string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for featureGroupId.

getFeatureGroupOrBuilder()

public FeatureGroupOrBuilder getFeatureGroupOrBuilder()

Required. The FeatureGroup to create.

.google.cloud.aiplatform.v1beta1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FeatureGroupOrBuilder

getParent()

public String getParent()

Required. The resource name of the Location to create FeatureGroups. Format: projects/{project}/locations/{location}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location to create FeatureGroups. Format: projects/{project}/locations/{location}

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

Returns
Type Description
ByteString

The bytes for parent.

hasFeatureGroup()

public boolean hasFeatureGroup()

Required. The FeatureGroup to create.

.google.cloud.aiplatform.v1beta1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the featureGroup field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFeatureGroup(FeatureGroup value)

public CreateFeatureGroupRequest.Builder mergeFeatureGroup(FeatureGroup value)

Required. The FeatureGroup to create.

.google.cloud.aiplatform.v1beta1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FeatureGroup
Returns
Type Description
CreateFeatureGroupRequest.Builder

mergeFrom(CreateFeatureGroupRequest other)

public CreateFeatureGroupRequest.Builder mergeFrom(CreateFeatureGroupRequest other)
Parameter
Name Description
other CreateFeatureGroupRequest
Returns
Type Description
CreateFeatureGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateFeatureGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateFeatureGroupRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateFeatureGroupRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateFeatureGroupRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateFeatureGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateFeatureGroupRequest.Builder
Overrides

setFeatureGroup(FeatureGroup value)

public CreateFeatureGroupRequest.Builder setFeatureGroup(FeatureGroup value)

Required. The FeatureGroup to create.

.google.cloud.aiplatform.v1beta1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FeatureGroup
Returns
Type Description
CreateFeatureGroupRequest.Builder

setFeatureGroup(FeatureGroup.Builder builderForValue)

public CreateFeatureGroupRequest.Builder setFeatureGroup(FeatureGroup.Builder builderForValue)

Required. The FeatureGroup to create.

.google.cloud.aiplatform.v1beta1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FeatureGroup.Builder
Returns
Type Description
CreateFeatureGroupRequest.Builder

setFeatureGroupId(String value)

public CreateFeatureGroupRequest.Builder setFeatureGroupId(String value)

Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within the project and location.

string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The featureGroupId to set.

Returns
Type Description
CreateFeatureGroupRequest.Builder

This builder for chaining.

setFeatureGroupIdBytes(ByteString value)

public CreateFeatureGroupRequest.Builder setFeatureGroupIdBytes(ByteString value)

Required. The ID to use for this FeatureGroup, which will become the final component of the FeatureGroup's resource name.

This value may be up to 60 characters, and valid characters are [a-z0-9_]. The first character cannot be a number.

The value must be unique within the project and location.

string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for featureGroupId to set.

Returns
Type Description
CreateFeatureGroupRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateFeatureGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateFeatureGroupRequest.Builder
Overrides

setParent(String value)

public CreateFeatureGroupRequest.Builder setParent(String value)

Required. The resource name of the Location to create FeatureGroups. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateFeatureGroupRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateFeatureGroupRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create FeatureGroups. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateFeatureGroupRequest.Builder

This builder for chaining.

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

public CreateFeatureGroupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateFeatureGroupRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateFeatureGroupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateFeatureGroupRequest.Builder
Overrides