All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: instruments.proto
package ru.tinkoff.piapi.contract.v1;
/**
*
*Список торговых площадок.
*
*
* Protobuf type {@code tinkoff.public.invest.api.contract.v1.TradingSchedulesResponse}
*/
public final class TradingSchedulesResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.TradingSchedulesResponse)
TradingSchedulesResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use TradingSchedulesResponse.newBuilder() to construct.
private TradingSchedulesResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TradingSchedulesResponse() {
exchanges_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TradingSchedulesResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_TradingSchedulesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_TradingSchedulesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse.class, ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse.Builder.class);
}
public static final int EXCHANGES_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List exchanges_;
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
@java.lang.Override
public java.util.List getExchangesList() {
return exchanges_;
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
@java.lang.Override
public java.util.List extends ru.tinkoff.piapi.contract.v1.TradingScheduleOrBuilder>
getExchangesOrBuilderList() {
return exchanges_;
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
@java.lang.Override
public int getExchangesCount() {
return exchanges_.size();
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.TradingSchedule getExchanges(int index) {
return exchanges_.get(index);
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.TradingScheduleOrBuilder getExchangesOrBuilder(
int index) {
return exchanges_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < exchanges_.size(); i++) {
output.writeMessage(1, exchanges_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < exchanges_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, exchanges_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse)) {
return super.equals(obj);
}
ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse other = (ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse) obj;
if (!getExchangesList()
.equals(other.getExchangesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getExchangesCount() > 0) {
hash = (37 * hash) + EXCHANGES_FIELD_NUMBER;
hash = (53 * hash) + getExchangesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*Список торговых площадок.
*
*
* Protobuf type {@code tinkoff.public.invest.api.contract.v1.TradingSchedulesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.TradingSchedulesResponse)
ru.tinkoff.piapi.contract.v1.TradingSchedulesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_TradingSchedulesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_TradingSchedulesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse.class, ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse.Builder.class);
}
// Construct using ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (exchangesBuilder_ == null) {
exchanges_ = java.util.Collections.emptyList();
} else {
exchanges_ = null;
exchangesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ru.tinkoff.piapi.contract.v1.Instruments.internal_static_tinkoff_public_invest_api_contract_v1_TradingSchedulesResponse_descriptor;
}
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse getDefaultInstanceForType() {
return ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse.getDefaultInstance();
}
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse build() {
ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse buildPartial() {
ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse result = new ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse result) {
if (exchangesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
exchanges_ = java.util.Collections.unmodifiableList(exchanges_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.exchanges_ = exchanges_;
} else {
result.exchanges_ = exchangesBuilder_.build();
}
}
private void buildPartial0(ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse) {
return mergeFrom((ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse other) {
if (other == ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse.getDefaultInstance()) return this;
if (exchangesBuilder_ == null) {
if (!other.exchanges_.isEmpty()) {
if (exchanges_.isEmpty()) {
exchanges_ = other.exchanges_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureExchangesIsMutable();
exchanges_.addAll(other.exchanges_);
}
onChanged();
}
} else {
if (!other.exchanges_.isEmpty()) {
if (exchangesBuilder_.isEmpty()) {
exchangesBuilder_.dispose();
exchangesBuilder_ = null;
exchanges_ = other.exchanges_;
bitField0_ = (bitField0_ & ~0x00000001);
exchangesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getExchangesFieldBuilder() : null;
} else {
exchangesBuilder_.addAllMessages(other.exchanges_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
ru.tinkoff.piapi.contract.v1.TradingSchedule m =
input.readMessage(
ru.tinkoff.piapi.contract.v1.TradingSchedule.parser(),
extensionRegistry);
if (exchangesBuilder_ == null) {
ensureExchangesIsMutable();
exchanges_.add(m);
} else {
exchangesBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List exchanges_ =
java.util.Collections.emptyList();
private void ensureExchangesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
exchanges_ = new java.util.ArrayList(exchanges_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ru.tinkoff.piapi.contract.v1.TradingSchedule, ru.tinkoff.piapi.contract.v1.TradingSchedule.Builder, ru.tinkoff.piapi.contract.v1.TradingScheduleOrBuilder> exchangesBuilder_;
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public java.util.List getExchangesList() {
if (exchangesBuilder_ == null) {
return java.util.Collections.unmodifiableList(exchanges_);
} else {
return exchangesBuilder_.getMessageList();
}
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public int getExchangesCount() {
if (exchangesBuilder_ == null) {
return exchanges_.size();
} else {
return exchangesBuilder_.getCount();
}
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public ru.tinkoff.piapi.contract.v1.TradingSchedule getExchanges(int index) {
if (exchangesBuilder_ == null) {
return exchanges_.get(index);
} else {
return exchangesBuilder_.getMessage(index);
}
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public Builder setExchanges(
int index, ru.tinkoff.piapi.contract.v1.TradingSchedule value) {
if (exchangesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExchangesIsMutable();
exchanges_.set(index, value);
onChanged();
} else {
exchangesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public Builder setExchanges(
int index, ru.tinkoff.piapi.contract.v1.TradingSchedule.Builder builderForValue) {
if (exchangesBuilder_ == null) {
ensureExchangesIsMutable();
exchanges_.set(index, builderForValue.build());
onChanged();
} else {
exchangesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public Builder addExchanges(ru.tinkoff.piapi.contract.v1.TradingSchedule value) {
if (exchangesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExchangesIsMutable();
exchanges_.add(value);
onChanged();
} else {
exchangesBuilder_.addMessage(value);
}
return this;
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public Builder addExchanges(
int index, ru.tinkoff.piapi.contract.v1.TradingSchedule value) {
if (exchangesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExchangesIsMutable();
exchanges_.add(index, value);
onChanged();
} else {
exchangesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public Builder addExchanges(
ru.tinkoff.piapi.contract.v1.TradingSchedule.Builder builderForValue) {
if (exchangesBuilder_ == null) {
ensureExchangesIsMutable();
exchanges_.add(builderForValue.build());
onChanged();
} else {
exchangesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public Builder addExchanges(
int index, ru.tinkoff.piapi.contract.v1.TradingSchedule.Builder builderForValue) {
if (exchangesBuilder_ == null) {
ensureExchangesIsMutable();
exchanges_.add(index, builderForValue.build());
onChanged();
} else {
exchangesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public Builder addAllExchanges(
java.lang.Iterable extends ru.tinkoff.piapi.contract.v1.TradingSchedule> values) {
if (exchangesBuilder_ == null) {
ensureExchangesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, exchanges_);
onChanged();
} else {
exchangesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public Builder clearExchanges() {
if (exchangesBuilder_ == null) {
exchanges_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
exchangesBuilder_.clear();
}
return this;
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public Builder removeExchanges(int index) {
if (exchangesBuilder_ == null) {
ensureExchangesIsMutable();
exchanges_.remove(index);
onChanged();
} else {
exchangesBuilder_.remove(index);
}
return this;
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public ru.tinkoff.piapi.contract.v1.TradingSchedule.Builder getExchangesBuilder(
int index) {
return getExchangesFieldBuilder().getBuilder(index);
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public ru.tinkoff.piapi.contract.v1.TradingScheduleOrBuilder getExchangesOrBuilder(
int index) {
if (exchangesBuilder_ == null) {
return exchanges_.get(index); } else {
return exchangesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public java.util.List extends ru.tinkoff.piapi.contract.v1.TradingScheduleOrBuilder>
getExchangesOrBuilderList() {
if (exchangesBuilder_ != null) {
return exchangesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(exchanges_);
}
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public ru.tinkoff.piapi.contract.v1.TradingSchedule.Builder addExchangesBuilder() {
return getExchangesFieldBuilder().addBuilder(
ru.tinkoff.piapi.contract.v1.TradingSchedule.getDefaultInstance());
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public ru.tinkoff.piapi.contract.v1.TradingSchedule.Builder addExchangesBuilder(
int index) {
return getExchangesFieldBuilder().addBuilder(
index, ru.tinkoff.piapi.contract.v1.TradingSchedule.getDefaultInstance());
}
/**
*
* Список торговых площадок и режимов торгов.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.TradingSchedule exchanges = 1;
*/
public java.util.List
getExchangesBuilderList() {
return getExchangesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
ru.tinkoff.piapi.contract.v1.TradingSchedule, ru.tinkoff.piapi.contract.v1.TradingSchedule.Builder, ru.tinkoff.piapi.contract.v1.TradingScheduleOrBuilder>
getExchangesFieldBuilder() {
if (exchangesBuilder_ == null) {
exchangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
ru.tinkoff.piapi.contract.v1.TradingSchedule, ru.tinkoff.piapi.contract.v1.TradingSchedule.Builder, ru.tinkoff.piapi.contract.v1.TradingScheduleOrBuilder>(
exchanges_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
exchanges_ = null;
}
return exchangesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tinkoff.public.invest.api.contract.v1.TradingSchedulesResponse)
}
// @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.TradingSchedulesResponse)
private static final ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse();
}
public static ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TradingSchedulesResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public ru.tinkoff.piapi.contract.v1.TradingSchedulesResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}