Class DoubleRange (2.36.0)

public final class DoubleRange extends GeneratedMessageV3 implements DoubleRangeOrBuilder

A range between two double numbers.

Protobuf type google.cloud.automl.v1beta1.DoubleRange

Static Fields

END_FIELD_NUMBER

public static final int END_FIELD_NUMBER
Field Value
TypeDescription
int

START_FIELD_NUMBER

public static final int START_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DoubleRange getDefaultInstance()
Returns
TypeDescription
DoubleRange

getDescriptor()

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

newBuilder()

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

newBuilder(DoubleRange prototype)

public static DoubleRange.Builder newBuilder(DoubleRange prototype)
Parameter
NameDescription
prototypeDoubleRange
Returns
TypeDescription
DoubleRange.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DoubleRange getDefaultInstanceForType()
Returns
TypeDescription
DoubleRange

getEnd()

public double getEnd()

End of the range, exclusive.

double end = 2;

Returns
TypeDescription
double

The end.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStart()

public double getStart()

Start of the range, inclusive.

double start = 1;

Returns
TypeDescription
double

The start.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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