Class DeployedIndexRef (3.24.0)

public final class DeployedIndexRef extends GeneratedMessageV3 implements DeployedIndexRefOrBuilder

Points to a DeployedIndex.

Protobuf type google.cloud.aiplatform.v1beta1.DeployedIndexRef

Static Fields

DEPLOYED_INDEX_ID_FIELD_NUMBER

public static final int DEPLOYED_INDEX_ID_FIELD_NUMBER
Field Value
TypeDescription
int

INDEX_ENDPOINT_FIELD_NUMBER

public static final int INDEX_ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeployedIndexRef getDefaultInstance()
Returns
TypeDescription
DeployedIndexRef

getDescriptor()

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

newBuilder()

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

newBuilder(DeployedIndexRef prototype)

public static DeployedIndexRef.Builder newBuilder(DeployedIndexRef prototype)
Parameter
NameDescription
prototypeDeployedIndexRef
Returns
TypeDescription
DeployedIndexRef.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DeployedIndexRef getDefaultInstanceForType()
Returns
TypeDescription
DeployedIndexRef

getDeployedIndexId()

public String getDeployedIndexId()

Immutable. The ID of the DeployedIndex in the above IndexEndpoint.

string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The deployedIndexId.

getDeployedIndexIdBytes()

public ByteString getDeployedIndexIdBytes()

Immutable. The ID of the DeployedIndex in the above IndexEndpoint.

string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for deployedIndexId.

getIndexEndpoint()

public String getIndexEndpoint()

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The indexEndpoint.

getIndexEndpointBytes()

public ByteString getIndexEndpointBytes()

Immutable. A resource name of the IndexEndpoint.

string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for indexEndpoint.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 DeployedIndexRef.Builder newBuilderForType()
Returns
TypeDescription
DeployedIndexRef.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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