Grasscutter/src/generated/main/java/emu/grasscutter/net/proto/TakeBackGivingItemRspOuterClass.java

806 lines
30 KiB
Java
Raw Normal View History

2022-08-21 19:33:54 +08:00
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TakeBackGivingItemRsp.proto
2022-08-21 19:33:54 +08:00
package emu.grasscutter.net.proto;
public final class TakeBackGivingItemRspOuterClass {
private TakeBackGivingItemRspOuterClass() {}
2022-08-21 19:33:54 +08:00
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface TakeBackGivingItemRspOrBuilder extends
// @@protoc_insertion_point(interface_extends:TakeBackGivingItemRsp)
2022-08-21 19:33:54 +08:00
com.google.protobuf.MessageOrBuilder {
/**
* <code>.ContentAuditInfo info = 13;</code>
* @return Whether the info field is set.
2022-08-21 19:33:54 +08:00
*/
boolean hasInfo();
/**
* <code>.ContentAuditInfo info = 13;</code>
* @return The info.
*/
emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo getInfo();
2022-08-21 19:33:54 +08:00
/**
* <code>.ContentAuditInfo info = 13;</code>
2022-08-21 19:33:54 +08:00
*/
emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfoOrBuilder getInfoOrBuilder();
2022-08-21 19:33:54 +08:00
}
/**
* Protobuf type {@code TakeBackGivingItemRsp}
2022-08-21 19:33:54 +08:00
*/
public static final class TakeBackGivingItemRsp extends
2022-08-21 19:33:54 +08:00
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:TakeBackGivingItemRsp)
TakeBackGivingItemRspOrBuilder {
2022-08-21 19:33:54 +08:00
private static final long serialVersionUID = 0L;
// Use TakeBackGivingItemRsp.newBuilder() to construct.
private TakeBackGivingItemRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
2022-08-21 19:33:54 +08:00
super(builder);
}
private TakeBackGivingItemRsp() {
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TakeBackGivingItemRsp();
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TakeBackGivingItemRsp(
2022-08-21 19:33:54 +08:00
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 106: {
emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo.Builder subBuilder = null;
if (info_ != null) {
subBuilder = info_.toBuilder();
}
info_ = input.readMessage(emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(info_);
info_ = subBuilder.buildPartial();
}
2022-08-21 19:33:54 +08:00
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 emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.internal_static_TakeBackGivingItemRsp_descriptor;
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.internal_static_TakeBackGivingItemRsp_fieldAccessorTable
2022-08-21 19:33:54 +08:00
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp.class, emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp.Builder.class);
}
/**
* Protobuf enum {@code TakeBackGivingItemRsp.MAOCBMICGGO}
*/
public enum MAOCBMICGGO
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NONE = 0;</code>
*/
NONE(0, 0),
/**
* <code>PEPPOHPHJOJ = 168;</code>
*/
PEPPOHPHJOJ(1, 168),
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final MAOCBMICGGO DCDNILFDFLB = NONE;
/**
* <code>NONE = 0;</code>
*/
public static final int NONE_VALUE = 0;
/**
* <code>PEPPOHPHJOJ = 168;</code>
*/
public static final int PEPPOHPHJOJ_VALUE = 168;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final int DCDNILFDFLB_VALUE = 0;
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
public static final int NNBKOLMPOEA_VALUE = 1;
public final int getNumber() {
if (index == -1) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static MAOCBMICGGO valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static MAOCBMICGGO forNumber(int value) {
switch (value) {
case 0: return NONE;
case 168: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<MAOCBMICGGO>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
MAOCBMICGGO> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<MAOCBMICGGO>() {
public MAOCBMICGGO findValueByNumber(int number) {
return MAOCBMICGGO.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (index == -1) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp.getDescriptor().getEnumTypes().get(0);
}
private static final MAOCBMICGGO[] VALUES = getStaticValuesArray();
private static MAOCBMICGGO[] getStaticValuesArray() {
return new MAOCBMICGGO[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
};
}
public static MAOCBMICGGO valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private MAOCBMICGGO(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:TakeBackGivingItemRsp.MAOCBMICGGO)
2022-08-21 19:33:54 +08:00
}
public static final int INFO_FIELD_NUMBER = 13;
private emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo info_;
2022-08-21 19:33:54 +08:00
/**
* <code>.ContentAuditInfo info = 13;</code>
* @return Whether the info field is set.
2022-08-21 19:33:54 +08:00
*/
@java.lang.Override
public boolean hasInfo() {
return info_ != null;
}
/**
* <code>.ContentAuditInfo info = 13;</code>
* @return The info.
*/
@java.lang.Override
public emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo getInfo() {
return info_ == null ? emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo.getDefaultInstance() : info_;
}
/**
* <code>.ContentAuditInfo info = 13;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfoOrBuilder getInfoOrBuilder() {
return getInfo();
2022-08-21 19:33:54 +08:00
}
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 (info_ != null) {
output.writeMessage(13, getInfo());
2022-08-21 19:33:54 +08:00
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (info_ != null) {
2022-08-21 19:33:54 +08:00
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getInfo());
2022-08-21 19:33:54 +08:00
}
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 emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp)) {
2022-08-21 19:33:54 +08:00
return super.equals(obj);
}
emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp other = (emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp) obj;
2022-08-21 19:33:54 +08:00
if (hasInfo() != other.hasInfo()) return false;
if (hasInfo()) {
if (!getInfo()
.equals(other.getInfo())) return false;
}
2022-08-21 19:33:54 +08:00
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();
if (hasInfo()) {
hash = (37 * hash) + INFO_FIELD_NUMBER;
hash = (53 * hash) + getInfo().hashCode();
}
2022-08-21 19:33:54 +08:00
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseFrom(
2022-08-21 19:33:54 +08:00
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseFrom(
2022-08-21 19:33:54 +08:00
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseFrom(
2022-08-21 19:33:54 +08:00
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseFrom(
2022-08-21 19:33:54 +08:00
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseFrom(byte[] data)
2022-08-21 19:33:54 +08:00
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseFrom(
2022-08-21 19:33:54 +08:00
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseFrom(java.io.InputStream input)
2022-08-21 19:33:54 +08:00
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseFrom(
2022-08-21 19:33:54 +08:00
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseDelimitedFrom(java.io.InputStream input)
2022-08-21 19:33:54 +08:00
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseDelimitedFrom(
2022-08-21 19:33:54 +08:00
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseFrom(
2022-08-21 19:33:54 +08:00
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parseFrom(
2022-08-21 19:33:54 +08:00
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(emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp prototype) {
2022-08-21 19:33:54 +08:00
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 TakeBackGivingItemRsp}
2022-08-21 19:33:54 +08:00
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:TakeBackGivingItemRsp)
emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRspOrBuilder {
2022-08-21 19:33:54 +08:00
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.internal_static_TakeBackGivingItemRsp_descriptor;
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.internal_static_TakeBackGivingItemRsp_fieldAccessorTable
2022-08-21 19:33:54 +08:00
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp.class, emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp.Builder.class);
2022-08-21 19:33:54 +08:00
}
// Construct using emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp.newBuilder()
2022-08-21 19:33:54 +08:00
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();
if (infoBuilder_ == null) {
info_ = null;
} else {
info_ = null;
infoBuilder_ = null;
}
2022-08-21 19:33:54 +08:00
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.internal_static_TakeBackGivingItemRsp_descriptor;
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
public emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp getDefaultInstanceForType() {
return emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp.getDefaultInstance();
2022-08-21 19:33:54 +08:00
}
@java.lang.Override
public emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp build() {
emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp result = buildPartial();
2022-08-21 19:33:54 +08:00
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp buildPartial() {
emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp result = new emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp(this);
if (infoBuilder_ == null) {
result.info_ = info_;
} else {
result.info_ = infoBuilder_.build();
}
2022-08-21 19:33:54 +08:00
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 emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp) {
return mergeFrom((emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp)other);
2022-08-21 19:33:54 +08:00
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp other) {
if (other == emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp.getDefaultInstance()) return this;
if (other.hasInfo()) {
mergeInfo(other.getInfo());
2022-08-21 19:33:54 +08:00
}
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 {
emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp parsedMessage = null;
2022-08-21 19:33:54 +08:00
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp) e.getUnfinishedMessage();
2022-08-21 19:33:54 +08:00
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo info_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo, emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo.Builder, emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfoOrBuilder> infoBuilder_;
2022-08-21 19:33:54 +08:00
/**
* <code>.ContentAuditInfo info = 13;</code>
* @return Whether the info field is set.
2022-08-21 19:33:54 +08:00
*/
public boolean hasInfo() {
return infoBuilder_ != null || info_ != null;
2022-08-21 19:33:54 +08:00
}
/**
* <code>.ContentAuditInfo info = 13;</code>
* @return The info.
2022-08-21 19:33:54 +08:00
*/
public emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo getInfo() {
if (infoBuilder_ == null) {
return info_ == null ? emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo.getDefaultInstance() : info_;
} else {
return infoBuilder_.getMessage();
}
2022-08-21 19:33:54 +08:00
}
/**
* <code>.ContentAuditInfo info = 13;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder setInfo(emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo value) {
if (infoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
} else {
infoBuilder_.setMessage(value);
}
2022-08-21 19:33:54 +08:00
return this;
}
/**
* <code>.ContentAuditInfo info = 13;</code>
*/
public Builder setInfo(
emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo.Builder builderForValue) {
if (infoBuilder_ == null) {
info_ = builderForValue.build();
onChanged();
} else {
infoBuilder_.setMessage(builderForValue.build());
}
2022-08-21 19:33:54 +08:00
return this;
}
2022-08-21 19:33:54 +08:00
/**
* <code>.ContentAuditInfo info = 13;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder mergeInfo(emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo value) {
if (infoBuilder_ == null) {
if (info_ != null) {
info_ =
emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo.newBuilder(info_).mergeFrom(value).buildPartial();
} else {
info_ = value;
}
onChanged();
} else {
infoBuilder_.mergeFrom(value);
}
return this;
2022-08-21 19:33:54 +08:00
}
/**
* <code>.ContentAuditInfo info = 13;</code>
2022-08-21 19:33:54 +08:00
*/
public Builder clearInfo() {
if (infoBuilder_ == null) {
info_ = null;
onChanged();
} else {
info_ = null;
infoBuilder_ = null;
}
2022-08-21 19:33:54 +08:00
return this;
}
/**
* <code>.ContentAuditInfo info = 13;</code>
2022-08-21 19:33:54 +08:00
*/
public emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo.Builder getInfoBuilder() {
2022-08-21 19:33:54 +08:00
onChanged();
return getInfoFieldBuilder().getBuilder();
}
/**
* <code>.ContentAuditInfo info = 13;</code>
*/
public emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfoOrBuilder getInfoOrBuilder() {
if (infoBuilder_ != null) {
return infoBuilder_.getMessageOrBuilder();
} else {
return info_ == null ?
emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo.getDefaultInstance() : info_;
}
}
/**
* <code>.ContentAuditInfo info = 13;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo, emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo.Builder, emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfoOrBuilder>
getInfoFieldBuilder() {
if (infoBuilder_ == null) {
infoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo, emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfo.Builder, emu.grasscutter.net.proto.ContentAuditInfoOuterClass.ContentAuditInfoOrBuilder>(
getInfo(),
getParentForChildren(),
isClean());
info_ = null;
}
return infoBuilder_;
2022-08-21 19:33:54 +08:00
}
@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:TakeBackGivingItemRsp)
2022-08-21 19:33:54 +08:00
}
// @@protoc_insertion_point(class_scope:TakeBackGivingItemRsp)
private static final emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp DEFAULT_INSTANCE;
2022-08-21 19:33:54 +08:00
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp();
2022-08-21 19:33:54 +08:00
}
public static emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp getDefaultInstance() {
2022-08-21 19:33:54 +08:00
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<TakeBackGivingItemRsp>
PARSER = new com.google.protobuf.AbstractParser<TakeBackGivingItemRsp>() {
2022-08-21 19:33:54 +08:00
@java.lang.Override
public TakeBackGivingItemRsp parsePartialFrom(
2022-08-21 19:33:54 +08:00
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TakeBackGivingItemRsp(input, extensionRegistry);
2022-08-21 19:33:54 +08:00
}
};
public static com.google.protobuf.Parser<TakeBackGivingItemRsp> parser() {
2022-08-21 19:33:54 +08:00
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TakeBackGivingItemRsp> getParserForType() {
2022-08-21 19:33:54 +08:00
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.TakeBackGivingItemRspOuterClass.TakeBackGivingItemRsp getDefaultInstanceForType() {
2022-08-21 19:33:54 +08:00
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_TakeBackGivingItemRsp_descriptor;
2022-08-21 19:33:54 +08:00
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_TakeBackGivingItemRsp_fieldAccessorTable;
2022-08-21 19:33:54 +08:00
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\033TakeBackGivingItemRsp.proto\032\026ContentAu" +
"ditInfo.proto\"\211\001\n\025TakeBackGivingItemRsp\022" +
"\037\n\004info\030\r \001(\0132\021.ContentAuditInfo\"O\n\013MAOC" +
"BMICGGO\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\250\001\022\017\n\013D" +
"CDNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\032\002\020\001B\033\n\031emu" +
".grasscutter.net.protob\006proto3"
2022-08-21 19:33:54 +08:00
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.ContentAuditInfoOuterClass.getDescriptor(),
2022-08-21 19:33:54 +08:00
});
internal_static_TakeBackGivingItemRsp_descriptor =
2022-08-21 19:33:54 +08:00
getDescriptor().getMessageTypes().get(0);
internal_static_TakeBackGivingItemRsp_fieldAccessorTable = new
2022-08-21 19:33:54 +08:00
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_TakeBackGivingItemRsp_descriptor,
new java.lang.String[] { "Info", });
emu.grasscutter.net.proto.ContentAuditInfoOuterClass.getDescriptor();
2022-08-21 19:33:54 +08:00
}
// @@protoc_insertion_point(outer_class_scope)
}