main.java.com.grpc.load.v1.LoadRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: grpc/load/v1/load.proto
// Protobuf Java Version: 3.25.3
package com.grpc.load.v1;
/**
* Protobuf type {@code grpc.load.v1.LoadRequest}
*/
public final class LoadRequest extends
com.google.protobuf.GeneratedMessageLite<
LoadRequest, LoadRequest.Builder> implements
// @@protoc_insertion_point(message_implements:grpc.load.v1.LoadRequest)
LoadRequestOrBuilder {
private LoadRequest() {
}
public interface PayloadOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.load.v1.LoadRequest.Payload)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Number of props of an object
*
*
* int32 size = 1 [json_name = "size"];
* @return The size.
*/
int getSize();
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @return A list containing the types.
*/
java.util.List
getTypesList();
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @return The count of types.
*/
int getTypesCount();
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param index The index of the element to return.
* @return The types at the given index.
*/
java.lang.String getTypes(int index);
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param index The index of the element to return.
* @return The types at the given index.
*/
com.google.protobuf.ByteString
getTypesBytes(int index);
}
/**
* Protobuf type {@code grpc.load.v1.LoadRequest.Payload}
*/
public static final class Payload extends
com.google.protobuf.GeneratedMessageLite<
Payload, Payload.Builder> implements
// @@protoc_insertion_point(message_implements:grpc.load.v1.LoadRequest.Payload)
PayloadOrBuilder {
private Payload() {
types_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
public static final int SIZE_FIELD_NUMBER = 1;
private int size_;
/**
*
* Number of props of an object
*
*
* int32 size = 1 [json_name = "size"];
* @return The size.
*/
@java.lang.Override
public int getSize() {
return size_;
}
/**
*
* Number of props of an object
*
*
* int32 size = 1 [json_name = "size"];
* @param value The size to set.
*/
private void setSize(int value) {
size_ = value;
}
/**
*
* Number of props of an object
*
*
* int32 size = 1 [json_name = "size"];
*/
private void clearSize() {
size_ = 0;
}
public static final int TYPES_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList types_;
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @return A list containing the types.
*/
@java.lang.Override
public java.util.List getTypesList() {
return types_;
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @return The count of types.
*/
@java.lang.Override
public int getTypesCount() {
return types_.size();
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param index The index of the element to return.
* @return The types at the given index.
*/
@java.lang.Override
public java.lang.String getTypes(int index) {
return types_.get(index);
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param index The index of the value to return.
* @return The bytes of the types at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypesBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
types_.get(index));
}
private void ensureTypesIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
types_; if (!tmp.isModifiable()) {
types_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param index The index to set the value at.
* @param value The types to set.
*/
private void setTypes(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureTypesIsMutable();
types_.set(index, value);
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param value The types to add.
*/
private void addTypes(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureTypesIsMutable();
types_.add(value);
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param values The types to add.
*/
private void addAllTypes(
java.lang.Iterable values) {
ensureTypesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, types_);
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
*/
private void clearTypes() {
types_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param value The bytes of the types to add.
*/
private void addTypesBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureTypesIsMutable();
types_.add(value.toStringUtf8());
}
public static com.grpc.load.v1.LoadRequest.Payload parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.grpc.load.v1.LoadRequest.Payload parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.grpc.load.v1.LoadRequest.Payload parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.grpc.load.v1.LoadRequest.Payload parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.grpc.load.v1.LoadRequest.Payload parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.grpc.load.v1.LoadRequest.Payload parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.grpc.load.v1.LoadRequest.Payload parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.grpc.load.v1.LoadRequest.Payload parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.grpc.load.v1.LoadRequest.Payload parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.grpc.load.v1.LoadRequest.Payload parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.grpc.load.v1.LoadRequest.Payload parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.grpc.load.v1.LoadRequest.Payload parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.grpc.load.v1.LoadRequest.Payload prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code grpc.load.v1.LoadRequest.Payload}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.grpc.load.v1.LoadRequest.Payload, Builder> implements
// @@protoc_insertion_point(builder_implements:grpc.load.v1.LoadRequest.Payload)
com.grpc.load.v1.LoadRequest.PayloadOrBuilder {
// Construct using com.grpc.load.v1.LoadRequest.Payload.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Number of props of an object
*
*
* int32 size = 1 [json_name = "size"];
* @return The size.
*/
@java.lang.Override
public int getSize() {
return instance.getSize();
}
/**
*
* Number of props of an object
*
*
* int32 size = 1 [json_name = "size"];
* @param value The size to set.
* @return This builder for chaining.
*/
public Builder setSize(int value) {
copyOnWrite();
instance.setSize(value);
return this;
}
/**
*
* Number of props of an object
*
*
* int32 size = 1 [json_name = "size"];
* @return This builder for chaining.
*/
public Builder clearSize() {
copyOnWrite();
instance.clearSize();
return this;
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @return A list containing the types.
*/
@java.lang.Override
public java.util.List
getTypesList() {
return java.util.Collections.unmodifiableList(
instance.getTypesList());
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @return The count of types.
*/
@java.lang.Override
public int getTypesCount() {
return instance.getTypesCount();
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param index The index of the element to return.
* @return The types at the given index.
*/
@java.lang.Override
public java.lang.String getTypes(int index) {
return instance.getTypes(index);
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param index The index of the value to return.
* @return The bytes of the types at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypesBytes(int index) {
return instance.getTypesBytes(index);
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param index The index to set the value at.
* @param value The types to set.
* @return This builder for chaining.
*/
public Builder setTypes(
int index, java.lang.String value) {
copyOnWrite();
instance.setTypes(index, value);
return this;
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param value The types to add.
* @return This builder for chaining.
*/
public Builder addTypes(
java.lang.String value) {
copyOnWrite();
instance.addTypes(value);
return this;
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param values The types to add.
* @return This builder for chaining.
*/
public Builder addAllTypes(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllTypes(values);
return this;
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @return This builder for chaining.
*/
public Builder clearTypes() {
copyOnWrite();
instance.clearTypes();
return this;
}
/**
*
* Available types to produce: float, text, integer, word
*
*
* repeated string types = 2 [json_name = "types"];
* @param value The bytes of the types to add.
* @return This builder for chaining.
*/
public Builder addTypesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addTypesBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:grpc.load.v1.LoadRequest.Payload)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.grpc.load.v1.LoadRequest.Payload();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"size_",
"types_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u0004\u0002\u021a" +
"";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.grpc.load.v1.LoadRequest.Payload.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:grpc.load.v1.LoadRequest.Payload)
private static final com.grpc.load.v1.LoadRequest.Payload DEFAULT_INSTANCE;
static {
Payload defaultInstance = new Payload();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Payload.class, defaultInstance);
}
public static com.grpc.load.v1.LoadRequest.Payload getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int TIMES_FIELD_NUMBER = 1;
private int times_;
/**
*
* How many objects should be produced
*
*
* int32 times = 1 [json_name = "times"];
* @return The times.
*/
@java.lang.Override
public int getTimes() {
return times_;
}
/**
*
* How many objects should be produced
*
*
* int32 times = 1 [json_name = "times"];
* @param value The times to set.
*/
private void setTimes(int value) {
times_ = value;
}
/**
*
* How many objects should be produced
*
*
* int32 times = 1 [json_name = "times"];
*/
private void clearTimes() {
times_ = 0;
}
public static final int SPEC_FIELD_NUMBER = 2;
private com.grpc.load.v1.LoadRequest.Payload spec_;
/**
* .grpc.load.v1.LoadRequest.Payload spec = 2 [json_name = "spec"];
*/
@java.lang.Override
public boolean hasSpec() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .grpc.load.v1.LoadRequest.Payload spec = 2 [json_name = "spec"];
*/
@java.lang.Override
public com.grpc.load.v1.LoadRequest.Payload getSpec() {
return spec_ == null ? com.grpc.load.v1.LoadRequest.Payload.getDefaultInstance() : spec_;
}
/**
* .grpc.load.v1.LoadRequest.Payload spec = 2 [json_name = "spec"];
*/
private void setSpec(com.grpc.load.v1.LoadRequest.Payload value) {
value.getClass();
spec_ = value;
bitField0_ |= 0x00000001;
}
/**
* .grpc.load.v1.LoadRequest.Payload spec = 2 [json_name = "spec"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSpec(com.grpc.load.v1.LoadRequest.Payload value) {
value.getClass();
if (spec_ != null &&
spec_ != com.grpc.load.v1.LoadRequest.Payload.getDefaultInstance()) {
spec_ =
com.grpc.load.v1.LoadRequest.Payload.newBuilder(spec_).mergeFrom(value).buildPartial();
} else {
spec_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .grpc.load.v1.LoadRequest.Payload spec = 2 [json_name = "spec"];
*/
private void clearSpec() { spec_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.grpc.load.v1.LoadRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.grpc.load.v1.LoadRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.grpc.load.v1.LoadRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.grpc.load.v1.LoadRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.grpc.load.v1.LoadRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.grpc.load.v1.LoadRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.grpc.load.v1.LoadRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.grpc.load.v1.LoadRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.grpc.load.v1.LoadRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.grpc.load.v1.LoadRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.grpc.load.v1.LoadRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.grpc.load.v1.LoadRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.grpc.load.v1.LoadRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code grpc.load.v1.LoadRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.grpc.load.v1.LoadRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:grpc.load.v1.LoadRequest)
com.grpc.load.v1.LoadRequestOrBuilder {
// Construct using com.grpc.load.v1.LoadRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* How many objects should be produced
*
*
* int32 times = 1 [json_name = "times"];
* @return The times.
*/
@java.lang.Override
public int getTimes() {
return instance.getTimes();
}
/**
*
* How many objects should be produced
*
*
* int32 times = 1 [json_name = "times"];
* @param value The times to set.
* @return This builder for chaining.
*/
public Builder setTimes(int value) {
copyOnWrite();
instance.setTimes(value);
return this;
}
/**
*
* How many objects should be produced
*
*
* int32 times = 1 [json_name = "times"];
* @return This builder for chaining.
*/
public Builder clearTimes() {
copyOnWrite();
instance.clearTimes();
return this;
}
/**
* .grpc.load.v1.LoadRequest.Payload spec = 2 [json_name = "spec"];
*/
@java.lang.Override
public boolean hasSpec() {
return instance.hasSpec();
}
/**
* .grpc.load.v1.LoadRequest.Payload spec = 2 [json_name = "spec"];
*/
@java.lang.Override
public com.grpc.load.v1.LoadRequest.Payload getSpec() {
return instance.getSpec();
}
/**
* .grpc.load.v1.LoadRequest.Payload spec = 2 [json_name = "spec"];
*/
public Builder setSpec(com.grpc.load.v1.LoadRequest.Payload value) {
copyOnWrite();
instance.setSpec(value);
return this;
}
/**
* .grpc.load.v1.LoadRequest.Payload spec = 2 [json_name = "spec"];
*/
public Builder setSpec(
com.grpc.load.v1.LoadRequest.Payload.Builder builderForValue) {
copyOnWrite();
instance.setSpec(builderForValue.build());
return this;
}
/**
* .grpc.load.v1.LoadRequest.Payload spec = 2 [json_name = "spec"];
*/
public Builder mergeSpec(com.grpc.load.v1.LoadRequest.Payload value) {
copyOnWrite();
instance.mergeSpec(value);
return this;
}
/**
* .grpc.load.v1.LoadRequest.Payload spec = 2 [json_name = "spec"];
*/
public Builder clearSpec() { copyOnWrite();
instance.clearSpec();
return this;
}
// @@protoc_insertion_point(builder_scope:grpc.load.v1.LoadRequest)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.grpc.load.v1.LoadRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"times_",
"spec_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0004\u0002\u1009" +
"\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.grpc.load.v1.LoadRequest.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:grpc.load.v1.LoadRequest)
private static final com.grpc.load.v1.LoadRequest DEFAULT_INSTANCE;
static {
LoadRequest defaultInstance = new LoadRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LoadRequest.class, defaultInstance);
}
public static com.grpc.load.v1.LoadRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}