Class CreateEntityTypeRequest.Builder (3.52.0)

public static final class CreateEntityTypeRequest.Builder extends GeneratedMessageV3.Builder<CreateEntityTypeRequest.Builder> implements CreateEntityTypeRequestOrBuilder

Request message for FeaturestoreService.CreateEntityType.

Protobuf type google.cloud.aiplatform.v1beta1.CreateEntityTypeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEntityTypeRequest build()
Returns
Type Description
CreateEntityTypeRequest

buildPartial()

public CreateEntityTypeRequest buildPartial()
Returns
Type Description
CreateEntityTypeRequest

clear()

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

clearEntityType()

public CreateEntityTypeRequest.Builder clearEntityType()

The EntityType to create.

.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;

Returns
Type Description
CreateEntityTypeRequest.Builder

clearEntityTypeId()

public CreateEntityTypeRequest.Builder clearEntityTypeId()

Required. The ID to use for the EntityType, which will become the final component of the EntityType'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 a featurestore.

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

Returns
Type Description
CreateEntityTypeRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateEntityTypeRequest.Builder clearParent()

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Returns
Type Description
CreateEntityTypeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEntityTypeRequest getDefaultInstanceForType()
Returns
Type Description
CreateEntityTypeRequest

getDescriptorForType()

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

getEntityType()

public EntityType getEntityType()

The EntityType to create.

.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;

Returns
Type Description
EntityType

The entityType.

getEntityTypeBuilder()

public EntityType.Builder getEntityTypeBuilder()

The EntityType to create.

.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;

Returns
Type Description
EntityType.Builder

getEntityTypeId()

public String getEntityTypeId()

Required. The ID to use for the EntityType, which will become the final component of the EntityType'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 a featurestore.

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

Returns
Type Description
String

The entityTypeId.

getEntityTypeIdBytes()

public ByteString getEntityTypeIdBytes()

Required. The ID to use for the EntityType, which will become the final component of the EntityType'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 a featurestore.

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

Returns
Type Description
ByteString

The bytes for entityTypeId.

getEntityTypeOrBuilder()

public EntityTypeOrBuilder getEntityTypeOrBuilder()

The EntityType to create.

.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;

Returns
Type Description
EntityTypeOrBuilder

getParent()

public String getParent()

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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 Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Returns
Type Description
ByteString

The bytes for parent.

hasEntityType()

public boolean hasEntityType()

The EntityType to create.

.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;

Returns
Type Description
boolean

Whether the entityType field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEntityType(EntityType value)

public CreateEntityTypeRequest.Builder mergeEntityType(EntityType value)

The EntityType to create.

.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;

Parameter
Name Description
value EntityType
Returns
Type Description
CreateEntityTypeRequest.Builder

mergeFrom(CreateEntityTypeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntityType(EntityType value)

public CreateEntityTypeRequest.Builder setEntityType(EntityType value)

The EntityType to create.

.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;

Parameter
Name Description
value EntityType
Returns
Type Description
CreateEntityTypeRequest.Builder

setEntityType(EntityType.Builder builderForValue)

public CreateEntityTypeRequest.Builder setEntityType(EntityType.Builder builderForValue)

The EntityType to create.

.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;

Parameter
Name Description
builderForValue EntityType.Builder
Returns
Type Description
CreateEntityTypeRequest.Builder

setEntityTypeId(String value)

public CreateEntityTypeRequest.Builder setEntityTypeId(String value)

Required. The ID to use for the EntityType, which will become the final component of the EntityType'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 a featurestore.

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

Parameter
Name Description
value String

The entityTypeId to set.

Returns
Type Description
CreateEntityTypeRequest.Builder

This builder for chaining.

setEntityTypeIdBytes(ByteString value)

public CreateEntityTypeRequest.Builder setEntityTypeIdBytes(ByteString value)

Required. The ID to use for the EntityType, which will become the final component of the EntityType'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 a featurestore.

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

Parameter
Name Description
value ByteString

The bytes for entityTypeId to set.

Returns
Type Description
CreateEntityTypeRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateEntityTypeRequest.Builder setParent(String value)

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateEntityTypeRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateEntityTypeRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Featurestore to create EntityTypes. Format: projects/{project}/locations/{location}/featurestores/{featurestore}

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
CreateEntityTypeRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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