Add missing @Override annotations.
This commit is contained in:
parent
1a6f8369ea
commit
f84a9e1c52
@ -72,6 +72,7 @@ public class WebSocketClientFactory {
|
|||||||
|
|
||||||
bootstrap.setPipelineFactory(new ChannelPipelineFactory() {
|
bootstrap.setPipelineFactory(new ChannelPipelineFactory() {
|
||||||
|
|
||||||
|
@Override
|
||||||
public ChannelPipeline getPipeline() throws Exception {
|
public ChannelPipeline getPipeline() throws Exception {
|
||||||
ChannelPipeline pipeline = Channels.pipeline();
|
ChannelPipeline pipeline = Channels.pipeline();
|
||||||
pipeline.addLast("decoder", new WebSocketHttpResponseDecoder());
|
pipeline.addLast("decoder", new WebSocketHttpResponseDecoder());
|
||||||
|
@ -102,14 +102,17 @@ public class WebSocketClientHandler extends SimpleChannelUpstreamHandler impleme
|
|||||||
e.getChannel().close();
|
e.getChannel().close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public ChannelFuture connect() {
|
public ChannelFuture connect() {
|
||||||
return bootstrap.connect(new InetSocketAddress(url.getHost(), url.getPort()));
|
return bootstrap.connect(new InetSocketAddress(url.getHost(), url.getPort()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public ChannelFuture disconnect() {
|
public ChannelFuture disconnect() {
|
||||||
return channel.close();
|
return channel.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public ChannelFuture send(WebSocketFrame frame) {
|
public ChannelFuture send(WebSocketFrame frame) {
|
||||||
return channel.write(frame);
|
return channel.write(frame);
|
||||||
}
|
}
|
||||||
|
@ -44,6 +44,7 @@ public class IOStream {
|
|||||||
|
|
||||||
// Configure the event pipeline factory.
|
// Configure the event pipeline factory.
|
||||||
bootstrap.setPipelineFactory(new ChannelPipelineFactory() {
|
bootstrap.setPipelineFactory(new ChannelPipelineFactory() {
|
||||||
|
@Override
|
||||||
public ChannelPipeline getPipeline() throws Exception {
|
public ChannelPipeline getPipeline() throws Exception {
|
||||||
DefaultChannelPipeline pipeline = new DefaultChannelPipeline();
|
DefaultChannelPipeline pipeline = new DefaultChannelPipeline();
|
||||||
pipeline.addLast("framer", new DelimiterBasedFrameDecoder(8192, Delimiters.lineDelimiter()));
|
pipeline.addLast("framer", new DelimiterBasedFrameDecoder(8192, Delimiters.lineDelimiter()));
|
||||||
|
@ -25,6 +25,7 @@ public final class LocalTimeProtocol {
|
|||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
public final int getNumber() { return value; }
|
public final int getNumber() { return value; }
|
||||||
|
|
||||||
public static Continent valueOf(int value) {
|
public static Continent valueOf(int value) {
|
||||||
@ -51,15 +52,18 @@ public final class LocalTimeProtocol {
|
|||||||
private static final com.google.protobuf.Internal.EnumLiteMap<Continent>
|
private static final com.google.protobuf.Internal.EnumLiteMap<Continent>
|
||||||
internalValueMap =
|
internalValueMap =
|
||||||
new com.google.protobuf.Internal.EnumLiteMap<Continent>() {
|
new com.google.protobuf.Internal.EnumLiteMap<Continent>() {
|
||||||
|
@Override
|
||||||
public Continent findValueByNumber(int number) {
|
public Continent findValueByNumber(int number) {
|
||||||
return Continent.valueOf(number)
|
return Continent.valueOf(number)
|
||||||
; }
|
; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@Override
|
||||||
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
||||||
getValueDescriptor() {
|
getValueDescriptor() {
|
||||||
return getDescriptor().getValues().get(index);
|
return getDescriptor().getValues().get(index);
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public final com.google.protobuf.Descriptors.EnumDescriptor
|
public final com.google.protobuf.Descriptors.EnumDescriptor
|
||||||
getDescriptorForType() {
|
getDescriptorForType() {
|
||||||
return getDescriptor();
|
return getDescriptor();
|
||||||
@ -106,6 +110,7 @@ public final class LocalTimeProtocol {
|
|||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
public final int getNumber() { return value; }
|
public final int getNumber() { return value; }
|
||||||
|
|
||||||
public static DayOfWeek valueOf(int value) {
|
public static DayOfWeek valueOf(int value) {
|
||||||
@ -128,15 +133,18 @@ public final class LocalTimeProtocol {
|
|||||||
private static final com.google.protobuf.Internal.EnumLiteMap<DayOfWeek>
|
private static final com.google.protobuf.Internal.EnumLiteMap<DayOfWeek>
|
||||||
internalValueMap =
|
internalValueMap =
|
||||||
new com.google.protobuf.Internal.EnumLiteMap<DayOfWeek>() {
|
new com.google.protobuf.Internal.EnumLiteMap<DayOfWeek>() {
|
||||||
|
@Override
|
||||||
public DayOfWeek findValueByNumber(int number) {
|
public DayOfWeek findValueByNumber(int number) {
|
||||||
return DayOfWeek.valueOf(number)
|
return DayOfWeek.valueOf(number)
|
||||||
; }
|
; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@Override
|
||||||
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
||||||
getValueDescriptor() {
|
getValueDescriptor() {
|
||||||
return getDescriptor().getValues().get(index);
|
return getDescriptor().getValues().get(index);
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public final com.google.protobuf.Descriptors.EnumDescriptor
|
public final com.google.protobuf.Descriptors.EnumDescriptor
|
||||||
getDescriptorForType() {
|
getDescriptorForType() {
|
||||||
return getDescriptor();
|
return getDescriptor();
|
||||||
@ -184,6 +192,7 @@ public final class LocalTimeProtocol {
|
|||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Location getDefaultInstanceForType() {
|
public Location getDefaultInstanceForType() {
|
||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
@ -193,6 +202,7 @@ public final class LocalTimeProtocol {
|
|||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Location_descriptor;
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Location_descriptor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
internalGetFieldAccessorTable() {
|
internalGetFieldAccessorTable() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Location_fieldAccessorTable;
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Location_fieldAccessorTable;
|
||||||
@ -215,6 +225,7 @@ public final class LocalTimeProtocol {
|
|||||||
private void initFields() {
|
private void initFields() {
|
||||||
continent_ = org.jboss.netty.example.localtime.LocalTimeProtocol.Continent.AFRICA;
|
continent_ = org.jboss.netty.example.localtime.LocalTimeProtocol.Continent.AFRICA;
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
if (!hasContinent) {
|
if (!hasContinent) {
|
||||||
return false;
|
return false;
|
||||||
@ -225,6 +236,7 @@ public final class LocalTimeProtocol {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
throws java.io.IOException {
|
throws java.io.IOException {
|
||||||
getSerializedSize();
|
getSerializedSize();
|
||||||
@ -238,6 +250,7 @@ public final class LocalTimeProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private int memoizedSerializedSize = -1;
|
private int memoizedSerializedSize = -1;
|
||||||
|
@Override
|
||||||
public int getSerializedSize() {
|
public int getSerializedSize() {
|
||||||
int size = memoizedSerializedSize;
|
int size = memoizedSerializedSize;
|
||||||
if (size != -1) {
|
if (size != -1) {
|
||||||
@ -326,10 +339,12 @@ public final class LocalTimeProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Builder newBuilder() { return Builder.create(); }
|
public static Builder newBuilder() { return Builder.create(); }
|
||||||
|
@Override
|
||||||
public Builder newBuilderForType() { return newBuilder(); }
|
public Builder newBuilderForType() { return newBuilder(); }
|
||||||
public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.Location prototype) {
|
public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.Location prototype) {
|
||||||
return newBuilder().mergeFrom(prototype);
|
return newBuilder().mergeFrom(prototype);
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public Builder toBuilder() { return newBuilder(this); }
|
public Builder toBuilder() { return newBuilder(this); }
|
||||||
|
|
||||||
public static final class Builder extends
|
public static final class Builder extends
|
||||||
@ -345,10 +360,12 @@ public final class LocalTimeProtocol {
|
|||||||
return builder;
|
return builder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected org.jboss.netty.example.localtime.LocalTimeProtocol.Location internalGetResult() {
|
protected org.jboss.netty.example.localtime.LocalTimeProtocol.Location internalGetResult() {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder clear() {
|
public Builder clear() {
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
@ -358,22 +375,27 @@ public final class LocalTimeProtocol {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder clone() {
|
public Builder clone() {
|
||||||
return create().mergeFrom(result);
|
return create().mergeFrom(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public com.google.protobuf.Descriptors.Descriptor
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
getDescriptorForType() {
|
getDescriptorForType() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.Location.getDescriptor();
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.Location.getDescriptor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.Location getDefaultInstanceForType() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.Location getDefaultInstanceForType() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.Location.getDefaultInstance();
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.Location.getDefaultInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isInitialized() {
|
public boolean isInitialized() {
|
||||||
return result.isInitialized();
|
return result.isInitialized();
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.Location build() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.Location build() {
|
||||||
if (result != null && !isInitialized()) {
|
if (result != null && !isInitialized()) {
|
||||||
throw newUninitializedMessageException(result);
|
throw newUninitializedMessageException(result);
|
||||||
@ -390,6 +412,7 @@ public final class LocalTimeProtocol {
|
|||||||
return buildPartial();
|
return buildPartial();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.Location buildPartial() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.Location buildPartial() {
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
@ -400,6 +423,7 @@ public final class LocalTimeProtocol {
|
|||||||
return returnMe;
|
return returnMe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.Location) {
|
if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.Location) {
|
||||||
return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.Location)other);
|
return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.Location)other);
|
||||||
@ -423,6 +447,7 @@ public final class LocalTimeProtocol {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder mergeFrom(
|
public Builder mergeFrom(
|
||||||
com.google.protobuf.CodedInputStream input,
|
com.google.protobuf.CodedInputStream input,
|
||||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
@ -530,6 +555,7 @@ public final class LocalTimeProtocol {
|
|||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Locations getDefaultInstanceForType() {
|
public Locations getDefaultInstanceForType() {
|
||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
@ -539,6 +565,7 @@ public final class LocalTimeProtocol {
|
|||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Locations_descriptor;
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Locations_descriptor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
internalGetFieldAccessorTable() {
|
internalGetFieldAccessorTable() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Locations_fieldAccessorTable;
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_Locations_fieldAccessorTable;
|
||||||
@ -558,6 +585,7 @@ public final class LocalTimeProtocol {
|
|||||||
|
|
||||||
private void initFields() {
|
private void initFields() {
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
for (org.jboss.netty.example.localtime.LocalTimeProtocol.Location element : getLocationList()) {
|
for (org.jboss.netty.example.localtime.LocalTimeProtocol.Location element : getLocationList()) {
|
||||||
if (!element.isInitialized()) {
|
if (!element.isInitialized()) {
|
||||||
@ -567,6 +595,7 @@ public final class LocalTimeProtocol {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
throws java.io.IOException {
|
throws java.io.IOException {
|
||||||
getSerializedSize();
|
getSerializedSize();
|
||||||
@ -577,6 +606,7 @@ public final class LocalTimeProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private int memoizedSerializedSize = -1;
|
private int memoizedSerializedSize = -1;
|
||||||
|
@Override
|
||||||
public int getSerializedSize() {
|
public int getSerializedSize() {
|
||||||
int size = memoizedSerializedSize;
|
int size = memoizedSerializedSize;
|
||||||
if (size != -1) {
|
if (size != -1) {
|
||||||
@ -661,10 +691,12 @@ public final class LocalTimeProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Builder newBuilder() { return Builder.create(); }
|
public static Builder newBuilder() { return Builder.create(); }
|
||||||
|
@Override
|
||||||
public Builder newBuilderForType() { return newBuilder(); }
|
public Builder newBuilderForType() { return newBuilder(); }
|
||||||
public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.Locations prototype) {
|
public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.Locations prototype) {
|
||||||
return newBuilder().mergeFrom(prototype);
|
return newBuilder().mergeFrom(prototype);
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public Builder toBuilder() { return newBuilder(this); }
|
public Builder toBuilder() { return newBuilder(this); }
|
||||||
|
|
||||||
public static final class Builder extends
|
public static final class Builder extends
|
||||||
@ -680,10 +712,12 @@ public final class LocalTimeProtocol {
|
|||||||
return builder;
|
return builder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected org.jboss.netty.example.localtime.LocalTimeProtocol.Locations internalGetResult() {
|
protected org.jboss.netty.example.localtime.LocalTimeProtocol.Locations internalGetResult() {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder clear() {
|
public Builder clear() {
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
@ -693,22 +727,27 @@ public final class LocalTimeProtocol {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder clone() {
|
public Builder clone() {
|
||||||
return create().mergeFrom(result);
|
return create().mergeFrom(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public com.google.protobuf.Descriptors.Descriptor
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
getDescriptorForType() {
|
getDescriptorForType() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.getDescriptor();
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.getDescriptor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.Locations getDefaultInstanceForType() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.Locations getDefaultInstanceForType() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.getDefaultInstance();
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.Locations.getDefaultInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isInitialized() {
|
public boolean isInitialized() {
|
||||||
return result.isInitialized();
|
return result.isInitialized();
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.Locations build() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.Locations build() {
|
||||||
if (result != null && !isInitialized()) {
|
if (result != null && !isInitialized()) {
|
||||||
throw newUninitializedMessageException(result);
|
throw newUninitializedMessageException(result);
|
||||||
@ -725,6 +764,7 @@ public final class LocalTimeProtocol {
|
|||||||
return buildPartial();
|
return buildPartial();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.Locations buildPartial() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.Locations buildPartial() {
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
@ -739,6 +779,7 @@ public final class LocalTimeProtocol {
|
|||||||
return returnMe;
|
return returnMe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.Locations) {
|
if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.Locations) {
|
||||||
return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.Locations)other);
|
return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.Locations)other);
|
||||||
@ -762,6 +803,7 @@ public final class LocalTimeProtocol {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder mergeFrom(
|
public Builder mergeFrom(
|
||||||
com.google.protobuf.CodedInputStream input,
|
com.google.protobuf.CodedInputStream input,
|
||||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
@ -870,6 +912,7 @@ public final class LocalTimeProtocol {
|
|||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public LocalTime getDefaultInstanceForType() {
|
public LocalTime getDefaultInstanceForType() {
|
||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
@ -879,6 +922,7 @@ public final class LocalTimeProtocol {
|
|||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTime_descriptor;
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTime_descriptor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
internalGetFieldAccessorTable() {
|
internalGetFieldAccessorTable() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTime_fieldAccessorTable;
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTime_fieldAccessorTable;
|
||||||
@ -936,6 +980,7 @@ public final class LocalTimeProtocol {
|
|||||||
private void initFields() {
|
private void initFields() {
|
||||||
dayOfWeek_ = org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek.SUNDAY;
|
dayOfWeek_ = org.jboss.netty.example.localtime.LocalTimeProtocol.DayOfWeek.SUNDAY;
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
if (!hasYear) {
|
if (!hasYear) {
|
||||||
return false;
|
return false;
|
||||||
@ -961,6 +1006,7 @@ public final class LocalTimeProtocol {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
throws java.io.IOException {
|
throws java.io.IOException {
|
||||||
getSerializedSize();
|
getSerializedSize();
|
||||||
@ -989,6 +1035,7 @@ public final class LocalTimeProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private int memoizedSerializedSize = -1;
|
private int memoizedSerializedSize = -1;
|
||||||
|
@Override
|
||||||
public int getSerializedSize() {
|
public int getSerializedSize() {
|
||||||
int size = memoizedSerializedSize;
|
int size = memoizedSerializedSize;
|
||||||
if (size != -1) {
|
if (size != -1) {
|
||||||
@ -1097,10 +1144,12 @@ public final class LocalTimeProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Builder newBuilder() { return Builder.create(); }
|
public static Builder newBuilder() { return Builder.create(); }
|
||||||
|
@Override
|
||||||
public Builder newBuilderForType() { return newBuilder(); }
|
public Builder newBuilderForType() { return newBuilder(); }
|
||||||
public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime prototype) {
|
public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime prototype) {
|
||||||
return newBuilder().mergeFrom(prototype);
|
return newBuilder().mergeFrom(prototype);
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public Builder toBuilder() { return newBuilder(this); }
|
public Builder toBuilder() { return newBuilder(this); }
|
||||||
|
|
||||||
public static final class Builder extends
|
public static final class Builder extends
|
||||||
@ -1116,10 +1165,12 @@ public final class LocalTimeProtocol {
|
|||||||
return builder;
|
return builder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime internalGetResult() {
|
protected org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime internalGetResult() {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder clear() {
|
public Builder clear() {
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
@ -1129,22 +1180,27 @@ public final class LocalTimeProtocol {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder clone() {
|
public Builder clone() {
|
||||||
return create().mergeFrom(result);
|
return create().mergeFrom(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public com.google.protobuf.Descriptors.Descriptor
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
getDescriptorForType() {
|
getDescriptorForType() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.getDescriptor();
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.getDescriptor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime getDefaultInstanceForType() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime getDefaultInstanceForType() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.getDefaultInstance();
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime.getDefaultInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isInitialized() {
|
public boolean isInitialized() {
|
||||||
return result.isInitialized();
|
return result.isInitialized();
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime build() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime build() {
|
||||||
if (result != null && !isInitialized()) {
|
if (result != null && !isInitialized()) {
|
||||||
throw newUninitializedMessageException(result);
|
throw newUninitializedMessageException(result);
|
||||||
@ -1161,6 +1217,7 @@ public final class LocalTimeProtocol {
|
|||||||
return buildPartial();
|
return buildPartial();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime buildPartial() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime buildPartial() {
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
@ -1171,6 +1228,7 @@ public final class LocalTimeProtocol {
|
|||||||
return returnMe;
|
return returnMe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime) {
|
if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime) {
|
||||||
return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime)other);
|
return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime)other);
|
||||||
@ -1209,6 +1267,7 @@ public final class LocalTimeProtocol {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder mergeFrom(
|
public Builder mergeFrom(
|
||||||
com.google.protobuf.CodedInputStream input,
|
com.google.protobuf.CodedInputStream input,
|
||||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
@ -1423,6 +1482,7 @@ public final class LocalTimeProtocol {
|
|||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public LocalTimes getDefaultInstanceForType() {
|
public LocalTimes getDefaultInstanceForType() {
|
||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
@ -1432,6 +1492,7 @@ public final class LocalTimeProtocol {
|
|||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTimes_descriptor;
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTimes_descriptor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||||
internalGetFieldAccessorTable() {
|
internalGetFieldAccessorTable() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTimes_fieldAccessorTable;
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.internal_static_org_jboss_netty_example_localtime_LocalTimes_fieldAccessorTable;
|
||||||
@ -1451,6 +1512,7 @@ public final class LocalTimeProtocol {
|
|||||||
|
|
||||||
private void initFields() {
|
private void initFields() {
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
for (org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime element : getLocalTimeList()) {
|
for (org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTime element : getLocalTimeList()) {
|
||||||
if (!element.isInitialized()) {
|
if (!element.isInitialized()) {
|
||||||
@ -1460,6 +1522,7 @@ public final class LocalTimeProtocol {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||||
throws java.io.IOException {
|
throws java.io.IOException {
|
||||||
getSerializedSize();
|
getSerializedSize();
|
||||||
@ -1470,6 +1533,7 @@ public final class LocalTimeProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private int memoizedSerializedSize = -1;
|
private int memoizedSerializedSize = -1;
|
||||||
|
@Override
|
||||||
public int getSerializedSize() {
|
public int getSerializedSize() {
|
||||||
int size = memoizedSerializedSize;
|
int size = memoizedSerializedSize;
|
||||||
if (size != -1) {
|
if (size != -1) {
|
||||||
@ -1554,10 +1618,12 @@ public final class LocalTimeProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Builder newBuilder() { return Builder.create(); }
|
public static Builder newBuilder() { return Builder.create(); }
|
||||||
|
@Override
|
||||||
public Builder newBuilderForType() { return newBuilder(); }
|
public Builder newBuilderForType() { return newBuilder(); }
|
||||||
public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes prototype) {
|
public static Builder newBuilder(org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes prototype) {
|
||||||
return newBuilder().mergeFrom(prototype);
|
return newBuilder().mergeFrom(prototype);
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public Builder toBuilder() { return newBuilder(this); }
|
public Builder toBuilder() { return newBuilder(this); }
|
||||||
|
|
||||||
public static final class Builder extends
|
public static final class Builder extends
|
||||||
@ -1573,10 +1639,12 @@ public final class LocalTimeProtocol {
|
|||||||
return builder;
|
return builder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
protected org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes internalGetResult() {
|
protected org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes internalGetResult() {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder clear() {
|
public Builder clear() {
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
@ -1586,22 +1654,27 @@ public final class LocalTimeProtocol {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder clone() {
|
public Builder clone() {
|
||||||
return create().mergeFrom(result);
|
return create().mergeFrom(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public com.google.protobuf.Descriptors.Descriptor
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
getDescriptorForType() {
|
getDescriptorForType() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes.getDescriptor();
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes.getDescriptor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes getDefaultInstanceForType() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes getDefaultInstanceForType() {
|
||||||
return org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes.getDefaultInstance();
|
return org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes.getDefaultInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isInitialized() {
|
public boolean isInitialized() {
|
||||||
return result.isInitialized();
|
return result.isInitialized();
|
||||||
}
|
}
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes build() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes build() {
|
||||||
if (result != null && !isInitialized()) {
|
if (result != null && !isInitialized()) {
|
||||||
throw newUninitializedMessageException(result);
|
throw newUninitializedMessageException(result);
|
||||||
@ -1618,6 +1691,7 @@ public final class LocalTimeProtocol {
|
|||||||
return buildPartial();
|
return buildPartial();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes buildPartial() {
|
public org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes buildPartial() {
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
@ -1632,6 +1706,7 @@ public final class LocalTimeProtocol {
|
|||||||
return returnMe;
|
return returnMe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||||
if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes) {
|
if (other instanceof org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes) {
|
||||||
return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes)other);
|
return mergeFrom((org.jboss.netty.example.localtime.LocalTimeProtocol.LocalTimes)other);
|
||||||
@ -1655,6 +1730,7 @@ public final class LocalTimeProtocol {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Builder mergeFrom(
|
public Builder mergeFrom(
|
||||||
com.google.protobuf.CodedInputStream input,
|
com.google.protobuf.CodedInputStream input,
|
||||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
@ -1801,6 +1877,7 @@ public final class LocalTimeProtocol {
|
|||||||
};
|
};
|
||||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||||
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
||||||
|
@Override
|
||||||
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
||||||
com.google.protobuf.Descriptors.FileDescriptor root) {
|
com.google.protobuf.Descriptors.FileDescriptor root) {
|
||||||
descriptor = root;
|
descriptor = root;
|
||||||
|
@ -67,6 +67,7 @@ public class UTF8Output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
if (state != UTF8_ACCEPT) {
|
if (state != UTF8_ACCEPT) {
|
||||||
throw new UTF8Exception("bytes are not UTF-8");
|
throw new UTF8Exception("bytes are not UTF-8");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user