Class CapacityQuantityInterval (1.31.0)

public final class CapacityQuantityInterval extends GeneratedMessageV3 implements CapacityQuantityIntervalOrBuilder

Deprecated: Use Vehicle.LoadLimit.Interval instead.

Protobuf type google.cloud.optimization.v1.CapacityQuantityInterval

Static Fields

MAX_VALUE_FIELD_NUMBER (deprecated)

public static final int MAX_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_VALUE_FIELD_NUMBER (deprecated)

public static final int MIN_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER (deprecated)

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance() (deprecated)

public static CapacityQuantityInterval getDefaultInstance()
Returns
TypeDescription
CapacityQuantityInterval

getDescriptor() (deprecated)

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

newBuilder() (deprecated)

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

newBuilder(CapacityQuantityInterval prototype) (deprecated)

public static CapacityQuantityInterval.Builder newBuilder(CapacityQuantityInterval prototype)
Parameter
NameDescription
prototypeCapacityQuantityInterval
Returns
TypeDescription
CapacityQuantityInterval.Builder

parseDelimitedFrom(InputStream input) (deprecated)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(byte[] data) (deprecated)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(ByteString data) (deprecated)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(CodedInputStream input) (deprecated)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(InputStream input) (deprecated)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(ByteBuffer data) (deprecated)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parser() (deprecated)

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

Methods

equals(Object obj) (deprecated)

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

getDefaultInstanceForType() (deprecated)

public CapacityQuantityInterval getDefaultInstanceForType()
Returns
TypeDescription
CapacityQuantityInterval

getMaxValue() (deprecated)

public long getMaxValue()

optional int64 max_value = 3;

Returns
TypeDescription
long

The maxValue.

getMinValue() (deprecated)

public long getMinValue()

optional int64 min_value = 2;

Returns
TypeDescription
long

The minValue.

getParserForType() (deprecated)

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

getSerializedSize() (deprecated)

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType() (deprecated)

public String getType()

string type = 1;

Returns
TypeDescription
String

The type.

getTypeBytes() (deprecated)

public ByteString getTypeBytes()

string type = 1;

Returns
TypeDescription
ByteString

The bytes for type.

hasMaxValue() (deprecated)

public boolean hasMaxValue()

optional int64 max_value = 3;

Returns
TypeDescription
boolean

Whether the maxValue field is set.

hasMinValue() (deprecated)

public boolean hasMinValue()

optional int64 min_value = 2;

Returns
TypeDescription
boolean

Whether the minValue field is set.

hashCode() (deprecated)

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable() (deprecated)

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized() (deprecated)

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType() (deprecated)

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent) (deprecated)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) (deprecated)

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

toBuilder() (deprecated)

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

writeTo(CodedOutputStream output) (deprecated)

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