All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.fluss.protogen.tests.Enum1 Maven / Gradle / Ivy

/*
 * Copyright (c) 2024 Alibaba Group Holding Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// THIS CODE IS AUTOMATICALLY GENERATED. DO NOT EDIT.

package com.alibaba.fluss.protogen.tests;

import com.alibaba.fluss.rpc.messages.ApiMessage;
import com.alibaba.fluss.record.bytesview.ByteBufBytesView;
import com.alibaba.fluss.record.send.ByteBufWritableOutput;
import com.alibaba.fluss.record.bytesview.BytesView;
import com.alibaba.fluss.rpc.messages.ErrorMessage;
import com.alibaba.fluss.record.bytesview.FileRegionBytesView;
import com.alibaba.fluss.record.bytesview.MemorySegmentBytesView;
import com.alibaba.fluss.utils.ProtoCodecUtils;
import com.alibaba.fluss.record.send.WritableOutput;
import com.alibaba.fluss.shaded.netty4.io.netty.buffer.ByteBuf;
import com.alibaba.fluss.shaded.netty4.io.netty.buffer.Unpooled;

public enum Enum1 {
	X1_0(0), X1_1(1), X1_2(2),;
	private final int value;
	private Enum1(int value) {
		this.value = value;
	}
	public int getValue() {
		return value;
	}
	public static Enum1 valueOf(int n) {
		switch (n) {
			case 0 :
				return X1_0;
			case 1 :
				return X1_1;
			case 2 :
				return X1_2;
			default :
				return null;

		}
	}
	public static final int X1_0_VALUE = 0;
	public static final int X1_1_VALUE = 1;
	public static final int X1_2_VALUE = 2;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy