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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateEntityTypeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateEntityTypeRequest build()
public CreateEntityTypeRequest buildPartial()
public CreateEntityTypeRequest.Builder clear()
Overrides
public CreateEntityTypeRequest.Builder clearEntityType()
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
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];
public CreateEntityTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateEntityTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public CreateEntityTypeRequest.Builder clone()
Overrides
public CreateEntityTypeRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public EntityType getEntityType()
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
public EntityType.Builder getEntityTypeBuilder()
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
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;
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
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()
Overrides
public final boolean isInitialized()
Overrides
public CreateEntityTypeRequest.Builder mergeEntityType(EntityType value)
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
public CreateEntityTypeRequest.Builder mergeFrom(CreateEntityTypeRequest other)
public CreateEntityTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateEntityTypeRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final CreateEntityTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateEntityTypeRequest.Builder setEntityType(EntityType value)
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
public CreateEntityTypeRequest.Builder setEntityType(EntityType.Builder builderForValue)
The EntityType to create.
.google.cloud.aiplatform.v1beta1.EntityType entity_type = 2;
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.
|
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.
|
public CreateEntityTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public CreateEntityTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateEntityTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides