com.alibaba.fluss.protogen.tests.E1 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 E1 {
A1(1), B1(2), C1(5),;
private final int value;
private E1(int value) {
this.value = value;
}
public int getValue() {
return value;
}
public static E1 valueOf(int n) {
switch (n) {
case 1 :
return A1;
case 2 :
return B1;
case 5 :
return C1;
default :
return null;
}
}
public static final int A1_VALUE = 1;
public static final int B1_VALUE = 2;
public static final int C1_VALUE = 5;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy