All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.ytsaurus.client.request.RegistrationPartitions Maven / Gradle / Ivy

The newest version!
package tech.ytsaurus.client.request;

import java.util.List;

import tech.ytsaurus.rpcproxy.TReqRegisterQueueConsumer;

public class RegistrationPartitions {
    private final List items;

    public RegistrationPartitions(List items) {
        this.items = items;
    }

    public List getPartitions() {
        return items;
    }

    public TReqRegisterQueueConsumer.TRegistrationPartitions toProto() {
        return TReqRegisterQueueConsumer.TRegistrationPartitions.newBuilder()
                .addAllItems(items)
                .build();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy