Class CreateEntityTypeRequest (3.36.0)

public final class CreateEntityTypeRequest extends GeneratedMessageV3 implements CreateEntityTypeRequestOrBuilder

Request message for FeaturestoreService.CreateEntityType.

Protobuf type google.cloud.aiplatform.v1.CreateEntityTypeRequest

Static Fields

ENTITY_TYPE_FIELD_NUMBER

public static final int ENTITY_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

ENTITY_TYPE_ID_FIELD_NUMBER

public static final int ENTITY_TYPE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateEntityTypeRequest getDefaultInstance()
Returns
TypeDescription
CreateEntityTypeRequest

getDescriptor()

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

newBuilder()

public static CreateEntityTypeRequest.Builder newBuilder()
Returns
TypeDescription
CreateEntityTypeRequest.Builder

newBuilder(CreateEntityTypeRequest prototype)

public static CreateEntityTypeRequest.Builder newBuilder(CreateEntityTypeRequest prototype)
Parameter
NameDescription
prototypeCreateEntityTypeRequest
Returns
TypeDescription
CreateEntityTypeRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateEntityTypeRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateEntityTypeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateEntityTypeRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateEntityTypeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateEntityTypeRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateEntityTypeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateEntityTypeRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateEntityTypeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateEntityTypeRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateEntityTypeRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateEntityTypeRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateEntityTypeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateEntityTypeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateEntityTypeRequest> parser()
Returns
TypeDescription
Parser<CreateEntityTypeRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateEntityTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateEntityTypeRequest

getEntityType()

public EntityType getEntityType()

The EntityType to create.

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

Returns
TypeDescription
EntityType

The entityType.

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.

getParserForType()

public Parser<CreateEntityTypeRequest> getParserForType()
Returns
TypeDescription
Parser<CreateEntityTypeRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateEntityTypeRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateEntityTypeRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateEntityTypeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateEntityTypeRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateEntityTypeRequest.Builder toBuilder()
Returns
TypeDescription
CreateEntityTypeRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException