Class CreateEntityTypeRequest.Builder (3.32.0)

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

Request message for FeaturestoreService.CreateEntityType.

Protobuf type google.cloud.aiplatform.v1.CreateEntityTypeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateEntityTypeRequest build()
Returns
TypeDescription
CreateEntityTypeRequest

buildPartial()

public CreateEntityTypeRequest buildPartial()
Returns
TypeDescription
CreateEntityTypeRequest

clear()

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

clearEntityType()

public CreateEntityTypeRequest.Builder clearEntityType()

The EntityType to create.

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

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateEntityTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateEntityTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntityType()

public EntityType getEntityType()

The EntityType to create.

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

Returns
TypeDescription
EntityType

The entityType.

getEntityTypeBuilder()

public EntityType.Builder getEntityTypeBuilder()

The EntityType to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for entityTypeId.

getEntityTypeOrBuilder()

public EntityTypeOrBuilder getEntityTypeOrBuilder()

The EntityType to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

hasEntityType()

public boolean hasEntityType()

The EntityType to create.

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

Returns
TypeDescription
boolean

Whether the entityType field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEntityType(EntityType value)

public CreateEntityTypeRequest.Builder mergeEntityType(EntityType value)

The EntityType to create.

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

Parameter
NameDescription
valueEntityType
Returns
TypeDescription
CreateEntityTypeRequest.Builder

mergeFrom(CreateEntityTypeRequest other)

public CreateEntityTypeRequest.Builder mergeFrom(CreateEntityTypeRequest other)
Parameter
NameDescription
otherCreateEntityTypeRequest
Returns
TypeDescription
CreateEntityTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntityType(EntityType value)

public CreateEntityTypeRequest.Builder setEntityType(EntityType value)

The EntityType to create.

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

Parameter
NameDescription
valueEntityType
Returns
TypeDescription
CreateEntityTypeRequest.Builder

setEntityType(EntityType.Builder builderForValue)

public CreateEntityTypeRequest.Builder setEntityType(EntityType.Builder builderForValue)

The EntityType to create.

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

Parameter
NameDescription
builderForValueEntityType.Builder
Returns
TypeDescription
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
NameDescription
valueString

The entityTypeId to set.

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

The bytes for entityTypeId to set.

Returns
TypeDescription
CreateEntityTypeRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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