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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateEntityTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateEntityTypeRequest build()
Returns
public CreateEntityTypeRequest buildPartial()
Returns
public CreateEntityTypeRequest.Builder clear()
Returns
Overrides
public CreateEntityTypeRequest.Builder clearEntityType()
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
Returns
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
public CreateEntityTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateEntityTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public CreateEntityTypeRequest.Builder clone()
Returns
Overrides
public CreateEntityTypeRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public EntityType getEntityType()
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
Returns
public EntityType.Builder getEntityTypeBuilder()
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
Returns
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.
|
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.
|
public EntityTypeOrBuilder getEntityTypeOrBuilder()
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
Returns
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.
|
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
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateEntityTypeRequest.Builder mergeEntityType(EntityType value)
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
Parameter
Returns
public CreateEntityTypeRequest.Builder mergeFrom(CreateEntityTypeRequest other)
Parameter
Returns
public CreateEntityTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateEntityTypeRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateEntityTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateEntityTypeRequest.Builder setEntityType(EntityType value)
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
Parameter
Returns
public CreateEntityTypeRequest.Builder setEntityType(EntityType.Builder builderForValue)
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
Parameter
Returns
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
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
public CreateEntityTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public CreateEntityTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateEntityTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides