com.hedera.services.stream.proto.StorageChange Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: contract_state_change.proto
package com.hedera.services.stream.proto;
/**
*
**
* A storage slot change description.
*
*
* Protobuf type {@code proto.StorageChange}
*/
public final class StorageChange extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.StorageChange)
StorageChangeOrBuilder {
private static final long serialVersionUID = 0L;
// Use StorageChange.newBuilder() to construct.
private StorageChange(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StorageChange() {
slot_ = com.google.protobuf.ByteString.EMPTY;
valueRead_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StorageChange();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StorageChange(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
slot_ = input.readBytes();
break;
}
case 18: {
valueRead_ = input.readBytes();
break;
}
case 26: {
com.google.protobuf.BytesValue.Builder subBuilder = null;
if (valueWritten_ != null) {
subBuilder = valueWritten_.toBuilder();
}
valueWritten_ = input.readMessage(com.google.protobuf.BytesValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(valueWritten_);
valueWritten_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hedera.services.stream.proto.ContractStateChangeOuterClass.internal_static_proto_StorageChange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hedera.services.stream.proto.ContractStateChangeOuterClass.internal_static_proto_StorageChange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.services.stream.proto.StorageChange.class, com.hedera.services.stream.proto.StorageChange.Builder.class);
}
public static final int SLOT_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString slot_;
/**
*
**
* The storage slot changed. Up to 32 bytes, big-endian, zero bytes left trimmed.
*
*
* bytes slot = 1;
* @return The slot.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSlot() {
return slot_;
}
public static final int VALUE_READ_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString valueRead_;
/**
*
**
* The value read from the storage slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* Because of the way SSTORE operations are charged the slot is always read before being written to.
*
*
* bytes value_read = 2;
* @return The valueRead.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValueRead() {
return valueRead_;
}
public static final int VALUE_WRITTEN_FIELD_NUMBER = 3;
private com.google.protobuf.BytesValue valueWritten_;
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
* @return Whether the valueWritten field is set.
*/
@java.lang.Override
public boolean hasValueWritten() {
return valueWritten_ != null;
}
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
* @return The valueWritten.
*/
@java.lang.Override
public com.google.protobuf.BytesValue getValueWritten() {
return valueWritten_ == null ? com.google.protobuf.BytesValue.getDefaultInstance() : valueWritten_;
}
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
*/
@java.lang.Override
public com.google.protobuf.BytesValueOrBuilder getValueWrittenOrBuilder() {
return getValueWritten();
}
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 {
if (!slot_.isEmpty()) {
output.writeBytes(1, slot_);
}
if (!valueRead_.isEmpty()) {
output.writeBytes(2, valueRead_);
}
if (valueWritten_ != null) {
output.writeMessage(3, getValueWritten());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!slot_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, slot_);
}
if (!valueRead_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, valueRead_);
}
if (valueWritten_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getValueWritten());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.hedera.services.stream.proto.StorageChange)) {
return super.equals(obj);
}
com.hedera.services.stream.proto.StorageChange other = (com.hedera.services.stream.proto.StorageChange) obj;
if (!getSlot()
.equals(other.getSlot())) return false;
if (!getValueRead()
.equals(other.getValueRead())) return false;
if (hasValueWritten() != other.hasValueWritten()) return false;
if (hasValueWritten()) {
if (!getValueWritten()
.equals(other.getValueWritten())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SLOT_FIELD_NUMBER;
hash = (53 * hash) + getSlot().hashCode();
hash = (37 * hash) + VALUE_READ_FIELD_NUMBER;
hash = (53 * hash) + getValueRead().hashCode();
if (hasValueWritten()) {
hash = (37 * hash) + VALUE_WRITTEN_FIELD_NUMBER;
hash = (53 * hash) + getValueWritten().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hedera.services.stream.proto.StorageChange parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.services.stream.proto.StorageChange parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.services.stream.proto.StorageChange parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.services.stream.proto.StorageChange parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.services.stream.proto.StorageChange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.services.stream.proto.StorageChange parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hedera.services.stream.proto.StorageChange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hedera.services.stream.proto.StorageChange 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.hedera.services.stream.proto.StorageChange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.hedera.services.stream.proto.StorageChange 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.hedera.services.stream.proto.StorageChange parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hedera.services.stream.proto.StorageChange 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.hedera.services.stream.proto.StorageChange 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;
}
/**
*
**
* A storage slot change description.
*
*
* Protobuf type {@code proto.StorageChange}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:proto.StorageChange)
com.hedera.services.stream.proto.StorageChangeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hedera.services.stream.proto.ContractStateChangeOuterClass.internal_static_proto_StorageChange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hedera.services.stream.proto.ContractStateChangeOuterClass.internal_static_proto_StorageChange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.services.stream.proto.StorageChange.class, com.hedera.services.stream.proto.StorageChange.Builder.class);
}
// Construct using com.hedera.services.stream.proto.StorageChange.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
slot_ = com.google.protobuf.ByteString.EMPTY;
valueRead_ = com.google.protobuf.ByteString.EMPTY;
if (valueWrittenBuilder_ == null) {
valueWritten_ = null;
} else {
valueWritten_ = null;
valueWrittenBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.hedera.services.stream.proto.ContractStateChangeOuterClass.internal_static_proto_StorageChange_descriptor;
}
@java.lang.Override
public com.hedera.services.stream.proto.StorageChange getDefaultInstanceForType() {
return com.hedera.services.stream.proto.StorageChange.getDefaultInstance();
}
@java.lang.Override
public com.hedera.services.stream.proto.StorageChange build() {
com.hedera.services.stream.proto.StorageChange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.hedera.services.stream.proto.StorageChange buildPartial() {
com.hedera.services.stream.proto.StorageChange result = new com.hedera.services.stream.proto.StorageChange(this);
result.slot_ = slot_;
result.valueRead_ = valueRead_;
if (valueWrittenBuilder_ == null) {
result.valueWritten_ = valueWritten_;
} else {
result.valueWritten_ = valueWrittenBuilder_.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 com.hedera.services.stream.proto.StorageChange) {
return mergeFrom((com.hedera.services.stream.proto.StorageChange)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.hedera.services.stream.proto.StorageChange other) {
if (other == com.hedera.services.stream.proto.StorageChange.getDefaultInstance()) return this;
if (other.getSlot() != com.google.protobuf.ByteString.EMPTY) {
setSlot(other.getSlot());
}
if (other.getValueRead() != com.google.protobuf.ByteString.EMPTY) {
setValueRead(other.getValueRead());
}
if (other.hasValueWritten()) {
mergeValueWritten(other.getValueWritten());
}
this.mergeUnknownFields(other.unknownFields);
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 {
com.hedera.services.stream.proto.StorageChange parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.hedera.services.stream.proto.StorageChange) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString slot_ = com.google.protobuf.ByteString.EMPTY;
/**
*
**
* The storage slot changed. Up to 32 bytes, big-endian, zero bytes left trimmed.
*
*
* bytes slot = 1;
* @return The slot.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSlot() {
return slot_;
}
/**
*
**
* The storage slot changed. Up to 32 bytes, big-endian, zero bytes left trimmed.
*
*
* bytes slot = 1;
* @param value The slot to set.
* @return This builder for chaining.
*/
public Builder setSlot(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
slot_ = value;
onChanged();
return this;
}
/**
*
**
* The storage slot changed. Up to 32 bytes, big-endian, zero bytes left trimmed.
*
*
* bytes slot = 1;
* @return This builder for chaining.
*/
public Builder clearSlot() {
slot_ = getDefaultInstance().getSlot();
onChanged();
return this;
}
private com.google.protobuf.ByteString valueRead_ = com.google.protobuf.ByteString.EMPTY;
/**
*
**
* The value read from the storage slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* Because of the way SSTORE operations are charged the slot is always read before being written to.
*
*
* bytes value_read = 2;
* @return The valueRead.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValueRead() {
return valueRead_;
}
/**
*
**
* The value read from the storage slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* Because of the way SSTORE operations are charged the slot is always read before being written to.
*
*
* bytes value_read = 2;
* @param value The valueRead to set.
* @return This builder for chaining.
*/
public Builder setValueRead(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
valueRead_ = value;
onChanged();
return this;
}
/**
*
**
* The value read from the storage slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* Because of the way SSTORE operations are charged the slot is always read before being written to.
*
*
* bytes value_read = 2;
* @return This builder for chaining.
*/
public Builder clearValueRead() {
valueRead_ = getDefaultInstance().getValueRead();
onChanged();
return this;
}
private com.google.protobuf.BytesValue valueWritten_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder> valueWrittenBuilder_;
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
* @return Whether the valueWritten field is set.
*/
public boolean hasValueWritten() {
return valueWrittenBuilder_ != null || valueWritten_ != null;
}
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
* @return The valueWritten.
*/
public com.google.protobuf.BytesValue getValueWritten() {
if (valueWrittenBuilder_ == null) {
return valueWritten_ == null ? com.google.protobuf.BytesValue.getDefaultInstance() : valueWritten_;
} else {
return valueWrittenBuilder_.getMessage();
}
}
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
*/
public Builder setValueWritten(com.google.protobuf.BytesValue value) {
if (valueWrittenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueWritten_ = value;
onChanged();
} else {
valueWrittenBuilder_.setMessage(value);
}
return this;
}
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
*/
public Builder setValueWritten(
com.google.protobuf.BytesValue.Builder builderForValue) {
if (valueWrittenBuilder_ == null) {
valueWritten_ = builderForValue.build();
onChanged();
} else {
valueWrittenBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
*/
public Builder mergeValueWritten(com.google.protobuf.BytesValue value) {
if (valueWrittenBuilder_ == null) {
if (valueWritten_ != null) {
valueWritten_ =
com.google.protobuf.BytesValue.newBuilder(valueWritten_).mergeFrom(value).buildPartial();
} else {
valueWritten_ = value;
}
onChanged();
} else {
valueWrittenBuilder_.mergeFrom(value);
}
return this;
}
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
*/
public Builder clearValueWritten() {
if (valueWrittenBuilder_ == null) {
valueWritten_ = null;
onChanged();
} else {
valueWritten_ = null;
valueWrittenBuilder_ = null;
}
return this;
}
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
*/
public com.google.protobuf.BytesValue.Builder getValueWrittenBuilder() {
onChanged();
return getValueWrittenFieldBuilder().getBuilder();
}
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
*/
public com.google.protobuf.BytesValueOrBuilder getValueWrittenOrBuilder() {
if (valueWrittenBuilder_ != null) {
return valueWrittenBuilder_.getMessageOrBuilder();
} else {
return valueWritten_ == null ?
com.google.protobuf.BytesValue.getDefaultInstance() : valueWritten_;
}
}
/**
*
**
* The new value written to the slot. Up to 32 bytes, big-endian, zero bytes left trimmed.
* If a value of zero is written the valueWritten will be present but the inner value will be absent.
* If a value was read and not written this value will not be present.
*
*
* .google.protobuf.BytesValue value_written = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder>
getValueWrittenFieldBuilder() {
if (valueWrittenBuilder_ == null) {
valueWrittenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder>(
getValueWritten(),
getParentForChildren(),
isClean());
valueWritten_ = null;
}
return valueWrittenBuilder_;
}
@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:proto.StorageChange)
}
// @@protoc_insertion_point(class_scope:proto.StorageChange)
private static final com.hedera.services.stream.proto.StorageChange DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hedera.services.stream.proto.StorageChange();
}
public static com.hedera.services.stream.proto.StorageChange getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StorageChange parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StorageChange(input, extensionRegistry);
}
};
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.hedera.services.stream.proto.StorageChange getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}