Class CreateFeatureGroupRequest.Builder (3.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateFeatureGroupRequest build()
Returns
TypeDescription
CreateFeatureGroupRequest

buildPartial()

public CreateFeatureGroupRequest buildPartial()
Returns
TypeDescription
CreateFeatureGroupRequest

clear()

public CreateFeatureGroupRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateFeatureGroupRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateFeatureGroupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateFeatureGroupRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateFeatureGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateFeatureGroupRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the featureGroup field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFeatureGroup
Returns
TypeDescription
CreateFeatureGroupRequest.Builder

mergeFrom(CreateFeatureGroupRequest other)

public CreateFeatureGroupRequest.Builder mergeFrom(CreateFeatureGroupRequest other)
Parameter
NameDescription
otherCreateFeatureGroupRequest
Returns
TypeDescription
CreateFeatureGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateFeatureGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFeatureGroup
Returns
TypeDescription
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
NameDescription
builderForValueFeatureGroup.Builder
Returns
TypeDescription
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
NameDescription
valueString

The featureGroupId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for featureGroupId to set.

Returns
TypeDescription
CreateFeatureGroupRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateFeatureGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateFeatureGroupRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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