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.
com.turbospaces.api.v1.GetIntsRequest Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc.proto
// Protobuf Java Version: 3.25.3
package com.turbospaces.api.v1;
/**
* Protobuf type {@code com.turbospaces.api.v1.GetIntsRequest}
*/
public final class GetIntsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.turbospaces.api.v1.GetIntsRequest)
GetIntsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetIntsRequest.newBuilder() to construct.
private GetIntsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetIntsRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetIntsRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.turbospaces.api.v1.Grpc.internal_static_com_turbospaces_api_v1_GetIntsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.turbospaces.api.v1.Grpc.internal_static_com_turbospaces_api_v1_GetIntsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.turbospaces.api.v1.GetIntsRequest.class, com.turbospaces.api.v1.GetIntsRequest.Builder.class);
}
public static final int FROM_FIELD_NUMBER = 1;
private int from_ = 0;
/**
* int32 from = 1;
* @return The from.
*/
@java.lang.Override
public int getFrom() {
return from_;
}
public static final int TO_FIELD_NUMBER = 2;
private int to_ = 0;
/**
* int32 to = 2;
* @return The to.
*/
@java.lang.Override
public int getTo() {
return to_;
}
public static com.turbospaces.api.v1.GetIntsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.turbospaces.api.v1.GetIntsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.turbospaces.api.v1.GetIntsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.turbospaces.api.v1.GetIntsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.turbospaces.api.v1.GetIntsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.turbospaces.api.v1.GetIntsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.turbospaces.api.v1.GetIntsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.turbospaces.api.v1.GetIntsRequest 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 com.turbospaces.api.v1.GetIntsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.turbospaces.api.v1.GetIntsRequest 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 com.turbospaces.api.v1.GetIntsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.turbospaces.api.v1.GetIntsRequest 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(com.turbospaces.api.v1.GetIntsRequest 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 com.turbospaces.api.v1.GetIntsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.turbospaces.api.v1.GetIntsRequest)
com.turbospaces.api.v1.GetIntsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.turbospaces.api.v1.Grpc.internal_static_com_turbospaces_api_v1_GetIntsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.turbospaces.api.v1.Grpc.internal_static_com_turbospaces_api_v1_GetIntsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.turbospaces.api.v1.GetIntsRequest.class, com.turbospaces.api.v1.GetIntsRequest.Builder.class);
}
// Construct using com.turbospaces.api.v1.GetIntsRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
from_ = 0;
to_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.turbospaces.api.v1.Grpc.internal_static_com_turbospaces_api_v1_GetIntsRequest_descriptor;
}
@java.lang.Override
public com.turbospaces.api.v1.GetIntsRequest getDefaultInstanceForType() {
return com.turbospaces.api.v1.GetIntsRequest.getDefaultInstance();
}
@java.lang.Override
public com.turbospaces.api.v1.GetIntsRequest build() {
com.turbospaces.api.v1.GetIntsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.turbospaces.api.v1.GetIntsRequest buildPartial() {
com.turbospaces.api.v1.GetIntsRequest result = new com.turbospaces.api.v1.GetIntsRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.turbospaces.api.v1.GetIntsRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.from_ = from_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.to_ = to_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
private int bitField0_;
private int from_ ;
/**
* int32 from = 1;
* @return The from.
*/
@java.lang.Override
public int getFrom() {
return from_;
}
/**
* int32 from = 1;
* @param value The from to set.
* @return This builder for chaining.
*/
public Builder setFrom(int value) {
from_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int32 from = 1;
* @return This builder for chaining.
*/
public Builder clearFrom() {
bitField0_ = (bitField0_ & ~0x00000001);
from_ = 0;
onChanged();
return this;
}
private int to_ ;
/**
* int32 to = 2;
* @return The to.
*/
@java.lang.Override
public int getTo() {
return to_;
}
/**
* int32 to = 2;
* @param value The to to set.
* @return This builder for chaining.
*/
public Builder setTo(int value) {
to_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* int32 to = 2;
* @return This builder for chaining.
*/
public Builder clearTo() {
bitField0_ = (bitField0_ & ~0x00000002);
to_ = 0;
onChanged();
return this;
}
@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:com.turbospaces.api.v1.GetIntsRequest)
}
// @@protoc_insertion_point(class_scope:com.turbospaces.api.v1.GetIntsRequest)
private static final com.turbospaces.api.v1.GetIntsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.turbospaces.api.v1.GetIntsRequest();
}
public static com.turbospaces.api.v1.GetIntsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetIntsRequest 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 com.turbospaces.api.v1.GetIntsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}