Class DedicatedInfrastructure (0.8.0)

public final class DedicatedInfrastructure extends GeneratedMessage implements DedicatedInfrastructureOrBuilder

Represents dedicated infrastructure for the index.

Protobuf type google.cloud.vectorsearch.v1.DedicatedInfrastructure

Static Fields

AUTOSCALING_SPEC_FIELD_NUMBER

public static final int AUTOSCALING_SPEC_FIELD_NUMBER
Field Value
Type Description
int

MODE_FIELD_NUMBER

public static final int MODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DedicatedInfrastructure getDefaultInstance()
Returns
Type Description
DedicatedInfrastructure

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DedicatedInfrastructure.Builder newBuilder()
Returns
Type Description
DedicatedInfrastructure.Builder

newBuilder(DedicatedInfrastructure prototype)

public static DedicatedInfrastructure.Builder newBuilder(DedicatedInfrastructure prototype)
Parameter
Name Description
prototype DedicatedInfrastructure
Returns
Type Description
DedicatedInfrastructure.Builder

parseDelimitedFrom(InputStream input)

public static DedicatedInfrastructure parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DedicatedInfrastructure parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DedicatedInfrastructure parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DedicatedInfrastructure parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DedicatedInfrastructure parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DedicatedInfrastructure parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DedicatedInfrastructure parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DedicatedInfrastructure parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DedicatedInfrastructure parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DedicatedInfrastructure parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DedicatedInfrastructure parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DedicatedInfrastructure parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DedicatedInfrastructure
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DedicatedInfrastructure> parser()
Returns
Type Description
Parser<DedicatedInfrastructure>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAutoscalingSpec()

public DedicatedInfrastructure.AutoscalingSpec getAutoscalingSpec()

Optional. Autoscaling specification.

.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DedicatedInfrastructure.AutoscalingSpec

The autoscalingSpec.

getAutoscalingSpecOrBuilder()

public DedicatedInfrastructure.AutoscalingSpecOrBuilder getAutoscalingSpecOrBuilder()

Optional. Autoscaling specification.

.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DedicatedInfrastructure.AutoscalingSpecOrBuilder

getDefaultInstanceForType()

public DedicatedInfrastructure getDefaultInstanceForType()
Returns
Type Description
DedicatedInfrastructure

getMode()

public DedicatedInfrastructure.Mode getMode()

Optional. Mode of the dedicated infrastructure.

optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DedicatedInfrastructure.Mode

The mode.

getModeValue()

public int getModeValue()

Optional. Mode of the dedicated infrastructure.

optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for mode.

getParserForType()

public Parser<DedicatedInfrastructure> getParserForType()
Returns
Type Description
Parser<DedicatedInfrastructure>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAutoscalingSpec()

public boolean hasAutoscalingSpec()

Optional. Autoscaling specification.

.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the autoscalingSpec field is set.

hasMode()

public boolean hasMode()

Optional. Mode of the dedicated infrastructure.

optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the mode field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DedicatedInfrastructure.Builder newBuilderForType()
Returns
Type Description
DedicatedInfrastructure.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DedicatedInfrastructure.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DedicatedInfrastructure.Builder
Overrides

toBuilder()

public DedicatedInfrastructure.Builder toBuilder()
Returns
Type Description
DedicatedInfrastructure.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException