Class CreateFeatureGroupRequest.Builder (3.84.0)

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

Request message for FeatureRegistryService.CreateFeatureGroup.

Protobuf type google.cloud.aiplatform.v1.CreateFeatureGroupRequest

Static Methods

getDescriptor()

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

Methods

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.v1.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 128 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.

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.

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.v1.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.v1.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 128 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 128 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.v1.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.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the featureGroup field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.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.v1.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

setFeatureGroup(FeatureGroup value)

public CreateFeatureGroupRequest.Builder setFeatureGroup(FeatureGroup value)

Required. The FeatureGroup to create.

.google.cloud.aiplatform.v1.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.v1.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 128 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 128 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.

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.