Class FloatRange (0.2.0)

public final class FloatRange extends GeneratedMessageV3 implements FloatRangeOrBuilder

Float range type.

Protobuf type google.cloud.visionai.v1.FloatRange

Implements

FloatRangeOrBuilder

Static Fields

END_FIELD_NUMBER

public static final int END_FIELD_NUMBER
Field Value
Type Description
int

START_FIELD_NUMBER

public static final int START_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FloatRange getDefaultInstance()
Returns
Type Description
FloatRange

getDescriptor()

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

newBuilder()

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

newBuilder(FloatRange prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FloatRange getDefaultInstanceForType()
Returns
Type Description
FloatRange

getEnd()

public float getEnd()

End of the float range.

optional float end = 2;

Returns
Type Description
float

The end.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStart()

public float getStart()

Start of the float range.

optional float start = 1;

Returns
Type Description
float

The start.

hasEnd()

public boolean hasEnd()

End of the float range.

optional float end = 2;

Returns
Type Description
boolean

Whether the end field is set.

hasStart()

public boolean hasStart()

Start of the float range.

optional float start = 1;

Returns
Type Description
boolean

Whether the start field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FloatRange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FloatRange.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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