Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: simple_test_noouter_nomulti.proto
package org.apache.flink.formats.protobuf.testproto;
public final class SimpleTestNoouterNomultiOuterClass {
private SimpleTestNoouterNomultiOuterClass() {}
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 SimpleTestNoouterNomultiOrBuilder extends
// @@protoc_insertion_point(interface_extends:org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomulti)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 a = 1;
* @return Whether the a field is set.
*/
boolean hasA();
/**
* optional int32 a = 1;
* @return The a.
*/
int getA();
/**
* optional int64 b = 2;
* @return Whether the b field is set.
*/
boolean hasB();
/**
* optional int64 b = 2;
* @return The b.
*/
long getB();
/**
* optional bool c = 3;
* @return Whether the c field is set.
*/
boolean hasC();
/**
* optional bool c = 3;
* @return The c.
*/
boolean getC();
/**
* optional float d = 4;
* @return Whether the d field is set.
*/
boolean hasD();
/**
* optional float d = 4;
* @return The d.
*/
float getD();
/**
* optional double e = 5;
* @return Whether the e field is set.
*/
boolean hasE();
/**
* optional double e = 5;
* @return The e.
*/
double getE();
/**
* optional string f = 6;
* @return Whether the f field is set.
*/
boolean hasF();
/**
* optional string f = 6;
* @return The f.
*/
java.lang.String getF();
/**
* optional string f = 6;
* @return The bytes for f.
*/
com.google.protobuf.ByteString
getFBytes();
/**
* optional bytes g = 7;
* @return Whether the g field is set.
*/
boolean hasG();
/**
* optional bytes g = 7;
* @return The g.
*/
com.google.protobuf.ByteString getG();
}
/**
* Protobuf type {@code org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomulti}
*/
public static final class SimpleTestNoouterNomulti extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomulti)
SimpleTestNoouterNomultiOrBuilder {
private static final long serialVersionUID = 0L;
// Use SimpleTestNoouterNomulti.newBuilder() to construct.
private SimpleTestNoouterNomulti(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SimpleTestNoouterNomulti() {
f_ = "";
g_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SimpleTestNoouterNomulti();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SimpleTestNoouterNomulti(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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 8: {
bitField0_ |= 0x00000001;
a_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
b_ = input.readInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
c_ = input.readBool();
break;
}
case 37: {
bitField0_ |= 0x00000008;
d_ = input.readFloat();
break;
}
case 41: {
bitField0_ |= 0x00000010;
e_ = input.readDouble();
break;
}
case 50: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
f_ = bs;
break;
}
case 58: {
bitField0_ |= 0x00000040;
g_ = input.readBytes();
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 org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.internal_static_org_apache_flink_formats_protobuf_testproto_SimpleTestNoouterNomulti_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.internal_static_org_apache_flink_formats_protobuf_testproto_SimpleTestNoouterNomulti_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti.class, org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti.Builder.class);
}
private int bitField0_;
public static final int A_FIELD_NUMBER = 1;
private int a_;
/**
* optional int32 a = 1;
* @return Whether the a field is set.
*/
public boolean hasA() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 a = 1;
* @return The a.
*/
public int getA() {
return a_;
}
public static final int B_FIELD_NUMBER = 2;
private long b_;
/**
* optional int64 b = 2;
* @return Whether the b field is set.
*/
public boolean hasB() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 b = 2;
* @return The b.
*/
public long getB() {
return b_;
}
public static final int C_FIELD_NUMBER = 3;
private boolean c_;
/**
* optional bool c = 3;
* @return Whether the c field is set.
*/
public boolean hasC() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool c = 3;
* @return The c.
*/
public boolean getC() {
return c_;
}
public static final int D_FIELD_NUMBER = 4;
private float d_;
/**
* optional float d = 4;
* @return Whether the d field is set.
*/
public boolean hasD() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional float d = 4;
* @return The d.
*/
public float getD() {
return d_;
}
public static final int E_FIELD_NUMBER = 5;
private double e_;
/**
* optional double e = 5;
* @return Whether the e field is set.
*/
public boolean hasE() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional double e = 5;
* @return The e.
*/
public double getE() {
return e_;
}
public static final int F_FIELD_NUMBER = 6;
private volatile java.lang.Object f_;
/**
* optional string f = 6;
* @return Whether the f field is set.
*/
public boolean hasF() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string f = 6;
* @return The f.
*/
public java.lang.String getF() {
java.lang.Object ref = f_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
f_ = s;
}
return s;
}
}
/**
* optional string f = 6;
* @return The bytes for f.
*/
public com.google.protobuf.ByteString
getFBytes() {
java.lang.Object ref = f_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
f_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int G_FIELD_NUMBER = 7;
private com.google.protobuf.ByteString g_;
/**
* optional bytes g = 7;
* @return Whether the g field is set.
*/
public boolean hasG() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional bytes g = 7;
* @return The g.
*/
public com.google.protobuf.ByteString getG() {
return g_;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, a_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, b_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(3, c_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeFloat(4, d_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeDouble(5, e_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, f_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeBytes(7, g_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, a_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, b_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, c_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, d_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(5, e_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, f_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, g_);
}
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 org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti)) {
return super.equals(obj);
}
org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti other = (org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti) obj;
if (hasA() != other.hasA()) return false;
if (hasA()) {
if (getA()
!= other.getA()) return false;
}
if (hasB() != other.hasB()) return false;
if (hasB()) {
if (getB()
!= other.getB()) return false;
}
if (hasC() != other.hasC()) return false;
if (hasC()) {
if (getC()
!= other.getC()) return false;
}
if (hasD() != other.hasD()) return false;
if (hasD()) {
if (java.lang.Float.floatToIntBits(getD())
!= java.lang.Float.floatToIntBits(
other.getD())) return false;
}
if (hasE() != other.hasE()) return false;
if (hasE()) {
if (java.lang.Double.doubleToLongBits(getE())
!= java.lang.Double.doubleToLongBits(
other.getE())) return false;
}
if (hasF() != other.hasF()) return false;
if (hasF()) {
if (!getF()
.equals(other.getF())) return false;
}
if (hasG() != other.hasG()) return false;
if (hasG()) {
if (!getG()
.equals(other.getG())) 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();
if (hasA()) {
hash = (37 * hash) + A_FIELD_NUMBER;
hash = (53 * hash) + getA();
}
if (hasB()) {
hash = (37 * hash) + B_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getB());
}
if (hasC()) {
hash = (37 * hash) + C_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getC());
}
if (hasD()) {
hash = (37 * hash) + D_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getD());
}
if (hasE()) {
hash = (37 * hash) + E_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getE()));
}
if (hasF()) {
hash = (37 * hash) + F_FIELD_NUMBER;
hash = (53 * hash) + getF().hashCode();
}
if (hasG()) {
hash = (37 * hash) + G_FIELD_NUMBER;
hash = (53 * hash) + getG().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti 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 org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti 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 org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti 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(org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti 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 org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomulti}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomulti)
org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomultiOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.internal_static_org_apache_flink_formats_protobuf_testproto_SimpleTestNoouterNomulti_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.internal_static_org_apache_flink_formats_protobuf_testproto_SimpleTestNoouterNomulti_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti.class, org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti.Builder.class);
}
// Construct using org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti.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();
a_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
b_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
c_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
d_ = 0F;
bitField0_ = (bitField0_ & ~0x00000008);
e_ = 0D;
bitField0_ = (bitField0_ & ~0x00000010);
f_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
g_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.internal_static_org_apache_flink_formats_protobuf_testproto_SimpleTestNoouterNomulti_descriptor;
}
@java.lang.Override
public org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti getDefaultInstanceForType() {
return org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti.getDefaultInstance();
}
@java.lang.Override
public org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti build() {
org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti buildPartial() {
org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti result = new org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.a_ = a_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.b_ = b_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.c_ = c_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.d_ = d_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.e_ = e_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.f_ = f_;
if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.g_ = g_;
result.bitField0_ = to_bitField0_;
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 org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti) {
return mergeFrom((org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti other) {
if (other == org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti.getDefaultInstance()) return this;
if (other.hasA()) {
setA(other.getA());
}
if (other.hasB()) {
setB(other.getB());
}
if (other.hasC()) {
setC(other.getC());
}
if (other.hasD()) {
setD(other.getD());
}
if (other.hasE()) {
setE(other.getE());
}
if (other.hasF()) {
bitField0_ |= 0x00000020;
f_ = other.f_;
onChanged();
}
if (other.hasG()) {
setG(other.getG());
}
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 {
org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int a_ ;
/**
* optional int32 a = 1;
* @return Whether the a field is set.
*/
public boolean hasA() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 a = 1;
* @return The a.
*/
public int getA() {
return a_;
}
/**
* optional int32 a = 1;
* @param value The a to set.
* @return This builder for chaining.
*/
public Builder setA(int value) {
bitField0_ |= 0x00000001;
a_ = value;
onChanged();
return this;
}
/**
* optional int32 a = 1;
* @return This builder for chaining.
*/
public Builder clearA() {
bitField0_ = (bitField0_ & ~0x00000001);
a_ = 0;
onChanged();
return this;
}
private long b_ ;
/**
* optional int64 b = 2;
* @return Whether the b field is set.
*/
public boolean hasB() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 b = 2;
* @return The b.
*/
public long getB() {
return b_;
}
/**
* optional int64 b = 2;
* @param value The b to set.
* @return This builder for chaining.
*/
public Builder setB(long value) {
bitField0_ |= 0x00000002;
b_ = value;
onChanged();
return this;
}
/**
* optional int64 b = 2;
* @return This builder for chaining.
*/
public Builder clearB() {
bitField0_ = (bitField0_ & ~0x00000002);
b_ = 0L;
onChanged();
return this;
}
private boolean c_ ;
/**
* optional bool c = 3;
* @return Whether the c field is set.
*/
public boolean hasC() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool c = 3;
* @return The c.
*/
public boolean getC() {
return c_;
}
/**
* optional bool c = 3;
* @param value The c to set.
* @return This builder for chaining.
*/
public Builder setC(boolean value) {
bitField0_ |= 0x00000004;
c_ = value;
onChanged();
return this;
}
/**
* optional bool c = 3;
* @return This builder for chaining.
*/
public Builder clearC() {
bitField0_ = (bitField0_ & ~0x00000004);
c_ = false;
onChanged();
return this;
}
private float d_ ;
/**
* optional float d = 4;
* @return Whether the d field is set.
*/
public boolean hasD() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional float d = 4;
* @return The d.
*/
public float getD() {
return d_;
}
/**
* optional float d = 4;
* @param value The d to set.
* @return This builder for chaining.
*/
public Builder setD(float value) {
bitField0_ |= 0x00000008;
d_ = value;
onChanged();
return this;
}
/**
* optional float d = 4;
* @return This builder for chaining.
*/
public Builder clearD() {
bitField0_ = (bitField0_ & ~0x00000008);
d_ = 0F;
onChanged();
return this;
}
private double e_ ;
/**
* optional double e = 5;
* @return Whether the e field is set.
*/
public boolean hasE() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional double e = 5;
* @return The e.
*/
public double getE() {
return e_;
}
/**
* optional double e = 5;
* @param value The e to set.
* @return This builder for chaining.
*/
public Builder setE(double value) {
bitField0_ |= 0x00000010;
e_ = value;
onChanged();
return this;
}
/**
* optional double e = 5;
* @return This builder for chaining.
*/
public Builder clearE() {
bitField0_ = (bitField0_ & ~0x00000010);
e_ = 0D;
onChanged();
return this;
}
private java.lang.Object f_ = "";
/**
* optional string f = 6;
* @return Whether the f field is set.
*/
public boolean hasF() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string f = 6;
* @return The f.
*/
public java.lang.String getF() {
java.lang.Object ref = f_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
f_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string f = 6;
* @return The bytes for f.
*/
public com.google.protobuf.ByteString
getFBytes() {
java.lang.Object ref = f_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
f_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string f = 6;
* @param value The f to set.
* @return This builder for chaining.
*/
public Builder setF(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
f_ = value;
onChanged();
return this;
}
/**
* optional string f = 6;
* @return This builder for chaining.
*/
public Builder clearF() {
bitField0_ = (bitField0_ & ~0x00000020);
f_ = getDefaultInstance().getF();
onChanged();
return this;
}
/**
* optional string f = 6;
* @param value The bytes for f to set.
* @return This builder for chaining.
*/
public Builder setFBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
f_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString g_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes g = 7;
* @return Whether the g field is set.
*/
public boolean hasG() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional bytes g = 7;
* @return The g.
*/
public com.google.protobuf.ByteString getG() {
return g_;
}
/**
* optional bytes g = 7;
* @param value The g to set.
* @return This builder for chaining.
*/
public Builder setG(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
g_ = value;
onChanged();
return this;
}
/**
* optional bytes g = 7;
* @return This builder for chaining.
*/
public Builder clearG() {
bitField0_ = (bitField0_ & ~0x00000040);
g_ = getDefaultInstance().getG();
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomulti)
}
// @@protoc_insertion_point(class_scope:org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomulti)
private static final org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti();
}
public static org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SimpleTestNoouterNomulti parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SimpleTestNoouterNomulti(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 org.apache.flink.formats.protobuf.testproto.SimpleTestNoouterNomultiOuterClass.SimpleTestNoouterNomulti getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_org_apache_flink_formats_protobuf_testproto_SimpleTestNoouterNomulti_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_org_apache_flink_formats_protobuf_testproto_SimpleTestNoouterNomulti_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n!simple_test_noouter_nomulti.proto\022+org" +
".apache.flink.formats.protobuf.testproto" +
"\"g\n\030SimpleTestNoouterNomulti\022\t\n\001a\030\001 \001(\005\022" +
"\t\n\001b\030\002 \001(\003\022\t\n\001c\030\003 \001(\010\022\t\n\001d\030\004 \001(\002\022\t\n\001e\030\005 " +
"\001(\001\022\t\n\001f\030\006 \001(\t\022\t\n\001g\030\007 \001(\014B-\n+org.apache." +
"flink.formats.protobuf.testproto"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_org_apache_flink_formats_protobuf_testproto_SimpleTestNoouterNomulti_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_org_apache_flink_formats_protobuf_testproto_SimpleTestNoouterNomulti_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_org_apache_flink_formats_protobuf_testproto_SimpleTestNoouterNomulti_descriptor,
new java.lang.String[] { "A", "B", "C", "D", "E", "F", "G", });
}
// @@protoc_insertion_point(outer_class_scope)
}