/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/main/java/org/jboss/netty/example/localtime/LocalTimeProtocol.proto
package org.jboss.netty.example.localtime;
@SuppressWarnings("all")
public final class LocalTimeProtocol {
private LocalTimeProtocol() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public enum Continent
implements com.google.protobuf.ProtocolMessageEnum {
AFRICA(0, 0),
AMERICA(1, 1),
ANTARCTICA(2, 2),
ARCTIC(3, 3),
ASIA(4, 4),
ATLANTIC(5, 5),
AUSTRALIA(6, 6),
EUROPE(7, 7),
INDIAN(8, 8),
MIDEAST(9, 9),
PACIFIC(10, 10),
;
public static final int AFRICA_VALUE = 0;
public static final int AMERICA_VALUE = 1;
public static final int ANTARCTICA_VALUE = 2;
public static final int ARCTIC_VALUE = 3;
public static final int ASIA_VALUE = 4;
public static final int ATLANTIC_VALUE = 5;
public static final int AUSTRALIA_VALUE = 6;
public static final int EUROPE_VALUE = 7;
public static final int INDIAN_VALUE = 8;
public static final int MIDEAST_VALUE = 9;
public static final int PACIFIC_VALUE = 10;
public final int getNumber() { return value; }
public static Continent valueOf(int value) {
switch (value) {
case 0: return AFRICA;
case 1: return AMERICA;
case 2: return ANTARCTICA;
case 3: return ARCTIC;
case 4: return ASIA;
case 5: return ATLANTIC;
case 6: return AUSTRALIA;
case 7: return EUROPE;
case 8: return INDIAN;
case 9: return MIDEAST;
case 10: return PACIFIC;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Continent>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<Continent>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Continent>() {
public Continent findValueByNumber(int number) {
return Continent.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
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 org.jboss.netty.example.localtime.LocalTimeProtocol.getDescriptor().getEnumTypes().get(0);
}
private static final Continent[] VALUES = {
AFRICA, AMERICA, ANTARCTICA, ARCTIC, ASIA, ATLANTIC, AUSTRALIA, EUROPE, INDIAN, MIDEAST, PACIFIC,
};
public static Continent valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private Continent(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jboss.netty.example.localtime.Continent)
}
public enum DayOfWeek
implements com.google.protobuf.ProtocolMessageEnum {
SUNDAY(0, 1),
MONDAY(1, 2),
TUESDAY(2, 3),
WEDNESDAY(3, 4),
THURSDAY(4, 5),
FRIDAY(5, 6),
SATURDAY(6, 7),
;
public static final int SUNDAY_VALUE = 1;
public static final int MONDAY_VALUE = 2;
public static final int TUESDAY_VALUE = 3;
public static final int WEDNESDAY_VALUE = 4;
public static final int THURSDAY_VALUE = 5;
public static final int FRIDAY_VALUE = 6;
public static final int SATURDAY_VALUE = 7;
public final int getNumber() { return value; }
public static DayOfWeek valueOf(int value) {
switch (value) {
case 1: return SUNDAY;
case 2: return MONDAY;
case 3: return TUESDAY;
case 4: return WEDNESDAY;
case 5: return THURSDAY;
case 6: return FRIDAY;
case 7: return SATURDAY;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<DayOfWeek>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<DayOfWeek>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<DayOfWeek>() {
public DayOfWeek findValueByNumber(int number) {
return DayOfWeek.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
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 org.jboss.netty.example.localtime.LocalTimeProtocol.getDescriptor().getEnumTypes().get(1);
}
private static final DayOfWeek[] VALUES = {
SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY,
};
public static DayOfWeek valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private DayOfWeek(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jboss.netty.example.localtime.DayOfWeek)
}
public interface LocationOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .org.jboss.netty.example.localtime.Continent continent = 1;
boolean hasContinent();
org.jboss.netty.example.localtime.LocalTimeProtocol.Continent getContinent();
// required string city = 2;
boolean hasCity();
String getCity();
}
public static final class Location extends
com.google.protobuf.GeneratedMessage
implements LocationOrBuilder {
// Use Location.newBuilder() to construct.
private Location(Builder builder) {
super(builder);
}
private Location(boolean noInit) {}
private static final Location defaultInstance;
public static Location getDefaultInstance() {
return defaultInstance;
}
public Location getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Location_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Location_fieldAccessorTable;
}
没有合适的资源?快使用搜索试试~ 我知道了~
网络应用框架 Netty.7z
共2000个文件
html:1693个
java:781个
png:447个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 42 浏览量
2022-07-06
14:07:19
上传
评论
收藏 7.11MB 7Z 举报
温馨提示
网络应用框架 Netty.7z
资源详情
资源评论
资源推荐
收起资源包目录
网络应用框架 Netty.7z (2000个子文件)
stylesheet.css 11KB
stylesheet.css 2KB
index-all.html 1.85MB
LocalTimeProtocol.html 334KB
HttpPostRequestDecoder.html 282KB
ChannelBuffer.html 261KB
ChannelHandlerContext.html 251KB
ChannelBuffer.html 235KB
ChannelBuffer.html 207KB
Deflate.html 206KB
SslHandler.html 184KB
AbstractChannelBuffer.html 183KB
ConcurrentIdentityWeakKeyHashMap.html 181KB
ConcurrentWeakKeyHashMap.html 180KB
Channel.html 179KB
package-use.html 175KB
ConcurrentIdentityHashMap.html 171KB
ConcurrentHashMap.html 170KB
HttpUploadClient.html 162KB
ChannelBuffers.html 157KB
ChannelHandler.html 152KB
overview-tree.html 149KB
ChannelFuture.html 136KB
HttpHeaders.html 134KB
Channels.html 131KB
HttpPostRequestEncoder.html 130KB
constant-values.html 126KB
Channels.html 116KB
SpdySessionHandler.html 114KB
AbstractNioWorker.html 108KB
DefaultChannelPipeline.html 103KB
ChannelBuffers.html 97KB
HttpMessageDecoder.html 95KB
allclasses-frame.html 94KB
SpdyFrameDecoder.html 94KB
SpdyHeaders.html 93KB
ChannelEvent.html 92KB
CompositeChannelBuffer.html 92KB
ReplayingDecoderBuffer.html 90KB
ReadOnlyChannelBuffer.html 89KB
DynamicChannelBuffer.html 88KB
TruncatedChannelBuffer.html 86KB
SlicedChannelBuffer.html 86KB
DuplicatedChannelBuffer.html 86KB
MemoryAwareThreadPoolExecutor.html 84KB
StaticChannelPipeline.html 79KB
SslHandler.html 79KB
InfCodes.html 78KB
AbstractChannelBuffer.html 77KB
InfBlocks.html 77KB
HttpHeaders.Names.html 77KB
Inflate.html 75KB
CompositeChannelBuffer.html 75KB
ChannelUpstreamHandler.html 75KB
FrameDecoder.html 75KB
DefaultChannelPipeline.html 74KB
ChannelPipeline.html 74KB
ReplayingDecoder.html 74KB
HttpResponseStatus.html 73KB
FrameDecoder.html 73KB
HttpTunnelingSocketChannelConfig.html 72KB
allclasses-frame.html 71KB
HashedWheelTimer.html 70KB
StaticChannelPipeline.html 69KB
NioClientSocketPipelineSink.html 68KB
HttpResponseStatus.html 68KB
ReplayingDecoder.html 68KB
ChannelPipeline.html 67KB
SpdyHeaders.html 66KB
AbstractTrafficShapingHandler.html 66KB
HttpUploadServerHandler.html 65KB
IdleStateHandler.html 65KB
MemoryAwareThreadPoolExecutor.html 65KB
HttpResponseStatus.html 64KB
DefaultChannelGroup.html 64KB
AbstractChannel.html 64KB
ByteBufferBackedChannelBuffer.html 64KB
ChannelDownstreamHandler.html 64KB
Bootstrap.html 63KB
allclasses-noframe.html 63KB
LengthFieldBasedFrameDecoder.html 62KB
SimpleChannelHandler.html 61KB
MixedFileUpload.html 61KB
InfTree.html 60KB
WebSocket08FrameDecoder.html 60KB
DefaultDatagramChannelConfig.html 59KB
DefaultChannelFuture.html 56KB
RtspHeaders.html 56KB
ObjectDecoderInputStream.html 55KB
BufferedWriteHandler.html 55KB
Channel.html 55KB
HttpMessage.html 54KB
ZlibEncoder.html 54KB
MixedAttribute.html 54KB
RtspHeaders.Names.html 54KB
HeapChannelBuffer.html 54KB
ChannelStateEvent.html 54KB
NioProviderMetadata.html 54KB
SpdyCodecUtil.html 54KB
QueryStringDecoder.html 54KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
BryanDing
- 粉丝: 299
- 资源: 5583
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0