games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of saga-sdk-proto Show documentation
Show all versions of saga-sdk-proto Show documentation
Saga SDK for Java game servers
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streams/item/definition.proto
package games.mythical.saga.sdk.proto.streams.item;
/**
* Protobuf type {@code saga.rpc.streams.item.ItemStatusUpdates}
*/
public final class ItemStatusUpdates extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:saga.rpc.streams.item.ItemStatusUpdates)
ItemStatusUpdatesOrBuilder {
private static final long serialVersionUID = 0L;
// Use ItemStatusUpdates.newBuilder() to construct.
private ItemStatusUpdates(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ItemStatusUpdates() {
statusUpdates_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ItemStatusUpdates();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return games.mythical.saga.sdk.proto.streams.item.Definition.internal_static_saga_rpc_streams_item_ItemStatusUpdates_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return games.mythical.saga.sdk.proto.streams.item.Definition.internal_static_saga_rpc_streams_item_ItemStatusUpdates_fieldAccessorTable
.ensureFieldAccessorsInitialized(
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates.class, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates.Builder.class);
}
public static final int STATUS_UPDATES_FIELD_NUMBER = 1;
private java.util.List statusUpdates_;
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
@java.lang.Override
public java.util.List getStatusUpdatesList() {
return statusUpdates_;
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
@java.lang.Override
public java.util.List extends games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdateOrBuilder>
getStatusUpdatesOrBuilderList() {
return statusUpdates_;
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
@java.lang.Override
public int getStatusUpdatesCount() {
return statusUpdates_.size();
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
@java.lang.Override
public games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate getStatusUpdates(int index) {
return statusUpdates_.get(index);
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
@java.lang.Override
public games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdateOrBuilder getStatusUpdatesOrBuilder(
int index) {
return statusUpdates_.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 < statusUpdates_.size(); i++) {
output.writeMessage(1, statusUpdates_.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 < statusUpdates_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, statusUpdates_.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 games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates)) {
return super.equals(obj);
}
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates other = (games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates) obj;
if (!getStatusUpdatesList()
.equals(other.getStatusUpdatesList())) 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 (getStatusUpdatesCount() > 0) {
hash = (37 * hash) + STATUS_UPDATES_FIELD_NUMBER;
hash = (53 * hash) + getStatusUpdatesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates 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 games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates 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 games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates 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(games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates 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 saga.rpc.streams.item.ItemStatusUpdates}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:saga.rpc.streams.item.ItemStatusUpdates)
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdatesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return games.mythical.saga.sdk.proto.streams.item.Definition.internal_static_saga_rpc_streams_item_ItemStatusUpdates_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return games.mythical.saga.sdk.proto.streams.item.Definition.internal_static_saga_rpc_streams_item_ItemStatusUpdates_fieldAccessorTable
.ensureFieldAccessorsInitialized(
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates.class, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates.Builder.class);
}
// Construct using games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (statusUpdatesBuilder_ == null) {
statusUpdates_ = java.util.Collections.emptyList();
} else {
statusUpdates_ = null;
statusUpdatesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return games.mythical.saga.sdk.proto.streams.item.Definition.internal_static_saga_rpc_streams_item_ItemStatusUpdates_descriptor;
}
@java.lang.Override
public games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates getDefaultInstanceForType() {
return games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates.getDefaultInstance();
}
@java.lang.Override
public games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates build() {
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates buildPartial() {
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates result = new games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates(this);
int from_bitField0_ = bitField0_;
if (statusUpdatesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
statusUpdates_ = java.util.Collections.unmodifiableList(statusUpdates_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.statusUpdates_ = statusUpdates_;
} else {
result.statusUpdates_ = statusUpdatesBuilder_.build();
}
onBuilt();
return result;
}
@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);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates) {
return mergeFrom((games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates other) {
if (other == games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates.getDefaultInstance()) return this;
if (statusUpdatesBuilder_ == null) {
if (!other.statusUpdates_.isEmpty()) {
if (statusUpdates_.isEmpty()) {
statusUpdates_ = other.statusUpdates_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStatusUpdatesIsMutable();
statusUpdates_.addAll(other.statusUpdates_);
}
onChanged();
}
} else {
if (!other.statusUpdates_.isEmpty()) {
if (statusUpdatesBuilder_.isEmpty()) {
statusUpdatesBuilder_.dispose();
statusUpdatesBuilder_ = null;
statusUpdates_ = other.statusUpdates_;
bitField0_ = (bitField0_ & ~0x00000001);
statusUpdatesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStatusUpdatesFieldBuilder() : null;
} else {
statusUpdatesBuilder_.addAllMessages(other.statusUpdates_);
}
}
}
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: {
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate m =
input.readMessage(
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.parser(),
extensionRegistry);
if (statusUpdatesBuilder_ == null) {
ensureStatusUpdatesIsMutable();
statusUpdates_.add(m);
} else {
statusUpdatesBuilder_.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 statusUpdates_ =
java.util.Collections.emptyList();
private void ensureStatusUpdatesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
statusUpdates_ = new java.util.ArrayList(statusUpdates_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.Builder, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdateOrBuilder> statusUpdatesBuilder_;
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public java.util.List getStatusUpdatesList() {
if (statusUpdatesBuilder_ == null) {
return java.util.Collections.unmodifiableList(statusUpdates_);
} else {
return statusUpdatesBuilder_.getMessageList();
}
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public int getStatusUpdatesCount() {
if (statusUpdatesBuilder_ == null) {
return statusUpdates_.size();
} else {
return statusUpdatesBuilder_.getCount();
}
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate getStatusUpdates(int index) {
if (statusUpdatesBuilder_ == null) {
return statusUpdates_.get(index);
} else {
return statusUpdatesBuilder_.getMessage(index);
}
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public Builder setStatusUpdates(
int index, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate value) {
if (statusUpdatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatusUpdatesIsMutable();
statusUpdates_.set(index, value);
onChanged();
} else {
statusUpdatesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public Builder setStatusUpdates(
int index, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.Builder builderForValue) {
if (statusUpdatesBuilder_ == null) {
ensureStatusUpdatesIsMutable();
statusUpdates_.set(index, builderForValue.build());
onChanged();
} else {
statusUpdatesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public Builder addStatusUpdates(games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate value) {
if (statusUpdatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatusUpdatesIsMutable();
statusUpdates_.add(value);
onChanged();
} else {
statusUpdatesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public Builder addStatusUpdates(
int index, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate value) {
if (statusUpdatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStatusUpdatesIsMutable();
statusUpdates_.add(index, value);
onChanged();
} else {
statusUpdatesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public Builder addStatusUpdates(
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.Builder builderForValue) {
if (statusUpdatesBuilder_ == null) {
ensureStatusUpdatesIsMutable();
statusUpdates_.add(builderForValue.build());
onChanged();
} else {
statusUpdatesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public Builder addStatusUpdates(
int index, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.Builder builderForValue) {
if (statusUpdatesBuilder_ == null) {
ensureStatusUpdatesIsMutable();
statusUpdates_.add(index, builderForValue.build());
onChanged();
} else {
statusUpdatesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public Builder addAllStatusUpdates(
java.lang.Iterable extends games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate> values) {
if (statusUpdatesBuilder_ == null) {
ensureStatusUpdatesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, statusUpdates_);
onChanged();
} else {
statusUpdatesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public Builder clearStatusUpdates() {
if (statusUpdatesBuilder_ == null) {
statusUpdates_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
statusUpdatesBuilder_.clear();
}
return this;
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public Builder removeStatusUpdates(int index) {
if (statusUpdatesBuilder_ == null) {
ensureStatusUpdatesIsMutable();
statusUpdates_.remove(index);
onChanged();
} else {
statusUpdatesBuilder_.remove(index);
}
return this;
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.Builder getStatusUpdatesBuilder(
int index) {
return getStatusUpdatesFieldBuilder().getBuilder(index);
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdateOrBuilder getStatusUpdatesOrBuilder(
int index) {
if (statusUpdatesBuilder_ == null) {
return statusUpdates_.get(index); } else {
return statusUpdatesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public java.util.List extends games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdateOrBuilder>
getStatusUpdatesOrBuilderList() {
if (statusUpdatesBuilder_ != null) {
return statusUpdatesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(statusUpdates_);
}
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.Builder addStatusUpdatesBuilder() {
return getStatusUpdatesFieldBuilder().addBuilder(
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.getDefaultInstance());
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.Builder addStatusUpdatesBuilder(
int index) {
return getStatusUpdatesFieldBuilder().addBuilder(
index, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.getDefaultInstance());
}
/**
* repeated .saga.rpc.streams.item.ItemStatusUpdate status_updates = 1;
*/
public java.util.List
getStatusUpdatesBuilderList() {
return getStatusUpdatesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.Builder, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdateOrBuilder>
getStatusUpdatesFieldBuilder() {
if (statusUpdatesBuilder_ == null) {
statusUpdatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdate.Builder, games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdateOrBuilder>(
statusUpdates_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
statusUpdates_ = null;
}
return statusUpdatesBuilder_;
}
@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:saga.rpc.streams.item.ItemStatusUpdates)
}
// @@protoc_insertion_point(class_scope:saga.rpc.streams.item.ItemStatusUpdates)
private static final games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates();
}
public static games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ItemStatusUpdates 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 games.mythical.saga.sdk.proto.streams.item.ItemStatusUpdates getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}