public final class StreamIndexServiceRequestV1 extends com.google.protobuf.GeneratedMessageV3 implements StreamIndexServiceRequestV1OrBuilder
StreamIndexServiceRequestV1Protobuf type
kaikosdk.StreamIndexServiceRequestV1
Modifier and Type | Class and Description |
---|---|
static class |
StreamIndexServiceRequestV1.Builder
StreamIndexServiceRequestV1
|
Modifier and Type | Field and Description |
---|---|
static int |
COMMODITIES_FIELD_NUMBER |
static int |
INDEX_CODE_FIELD_NUMBER |
static int |
INTERVAL_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
StreamIndexCommodity |
getCommodities(int index)
Enum indicating type of feed.
|
int |
getCommoditiesCount()
Enum indicating type of feed.
|
java.util.List<StreamIndexCommodity> |
getCommoditiesList()
Enum indicating type of feed.
|
int |
getCommoditiesValue(int index)
Enum indicating type of feed.
|
java.util.List<java.lang.Integer> |
getCommoditiesValueList()
Enum indicating type of feed.
|
static StreamIndexServiceRequestV1 |
getDefaultInstance() |
StreamIndexServiceRequestV1 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getIndexCode()
Index code.
|
com.google.protobuf.ByteString |
getIndexCodeBytes()
Index code.
|
DataInterval |
getInterval()
Data interval.
|
DataIntervalOrBuilder |
getIntervalOrBuilder()
Data interval.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasInterval()
Data interval.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StreamIndexServiceRequestV1.Builder |
newBuilder() |
static StreamIndexServiceRequestV1.Builder |
newBuilder(StreamIndexServiceRequestV1 prototype) |
StreamIndexServiceRequestV1.Builder |
newBuilderForType() |
protected StreamIndexServiceRequestV1.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(UnusedPrivateParameter unused) |
static StreamIndexServiceRequestV1 |
parseDelimitedFrom(java.io.InputStream input) |
static StreamIndexServiceRequestV1 |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamIndexServiceRequestV1 |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamIndexServiceRequestV1 |
parseFrom(java.nio.ByteBuffer data) |
static StreamIndexServiceRequestV1 |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamIndexServiceRequestV1 |
parseFrom(com.google.protobuf.ByteString data) |
static StreamIndexServiceRequestV1 |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamIndexServiceRequestV1 |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StreamIndexServiceRequestV1 |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StreamIndexServiceRequestV1 |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
StreamIndexServiceRequestV1.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int INDEX_CODE_FIELD_NUMBER
public static final int COMMODITIES_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
protected java.lang.Object newInstance(UnusedPrivateParameter unused)
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public java.lang.String getIndexCode()
Index code.
string index_code = 1;
getIndexCode
in interface StreamIndexServiceRequestV1OrBuilder
public com.google.protobuf.ByteString getIndexCodeBytes()
Index code.
string index_code = 1;
getIndexCodeBytes
in interface StreamIndexServiceRequestV1OrBuilder
public java.util.List<StreamIndexCommodity> getCommoditiesList()
Enum indicating type of feed.
repeated .kaikosdk.StreamIndexCommodity commodities = 2;
getCommoditiesList
in interface StreamIndexServiceRequestV1OrBuilder
public int getCommoditiesCount()
Enum indicating type of feed.
repeated .kaikosdk.StreamIndexCommodity commodities = 2;
getCommoditiesCount
in interface StreamIndexServiceRequestV1OrBuilder
public StreamIndexCommodity getCommodities(int index)
Enum indicating type of feed.
repeated .kaikosdk.StreamIndexCommodity commodities = 2;
getCommodities
in interface StreamIndexServiceRequestV1OrBuilder
index
- The index of the element to return.public java.util.List<java.lang.Integer> getCommoditiesValueList()
Enum indicating type of feed.
repeated .kaikosdk.StreamIndexCommodity commodities = 2;
getCommoditiesValueList
in interface StreamIndexServiceRequestV1OrBuilder
public int getCommoditiesValue(int index)
Enum indicating type of feed.
repeated .kaikosdk.StreamIndexCommodity commodities = 2;
getCommoditiesValue
in interface StreamIndexServiceRequestV1OrBuilder
index
- The index of the value to return.public boolean hasInterval()
Data interval. For historical data only.
.kaikosdk.DataInterval interval = 3;
hasInterval
in interface StreamIndexServiceRequestV1OrBuilder
public DataInterval getInterval()
Data interval. For historical data only.
.kaikosdk.DataInterval interval = 3;
getInterval
in interface StreamIndexServiceRequestV1OrBuilder
public DataIntervalOrBuilder getIntervalOrBuilder()
Data interval. For historical data only.
.kaikosdk.DataInterval interval = 3;
getIntervalOrBuilder
in interface StreamIndexServiceRequestV1OrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static StreamIndexServiceRequestV1 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamIndexServiceRequestV1 parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamIndexServiceRequestV1 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamIndexServiceRequestV1 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamIndexServiceRequestV1 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StreamIndexServiceRequestV1 parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamIndexServiceRequestV1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StreamIndexServiceRequestV1 parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StreamIndexServiceRequestV1 parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static StreamIndexServiceRequestV1 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public StreamIndexServiceRequestV1.Builder newBuilderForType()
public static StreamIndexServiceRequestV1.Builder newBuilder()
public static StreamIndexServiceRequestV1.Builder newBuilder(StreamIndexServiceRequestV1 prototype)
public StreamIndexServiceRequestV1.Builder toBuilder()
protected StreamIndexServiceRequestV1.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static StreamIndexServiceRequestV1 getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public StreamIndexServiceRequestV1 getDefaultInstanceForType()