org.apache.hadoop.ipc.protobuf
Class ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder>
org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder
- All Implemented Interfaces:
- com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilder
- Enclosing class:
- ProtocolInfoProtos.GetProtocolVersionsRequestProto
public static final class ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder
- extends com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder>
- implements ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilder
Protobuf type hadoop.common.GetProtocolVersionsRequestProto
Request to get protocol versions for all supported rpc kinds.
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields |
Methods inherited from class com.google.protobuf.AbstractMessage.Builder |
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException |
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder |
addAll, newUninitializedMessageException |
Methods inherited from interface com.google.protobuf.MessageOrBuilder |
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder>
clear
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder clear()
- Specified by:
clear
in interface com.google.protobuf.Message.Builder
- Specified by:
clear
in interface com.google.protobuf.MessageLite.Builder
- Overrides:
clear
in class com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder>
clone
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder clone()
- Specified by:
clone
in interface com.google.protobuf.Message.Builder
- Specified by:
clone
in interface com.google.protobuf.MessageLite.Builder
- Overrides:
clone
in class com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder>
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interface com.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder>
getDefaultInstanceForType
public ProtocolInfoProtos.GetProtocolVersionsRequestProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
build
public ProtocolInfoProtos.GetProtocolVersionsRequestProto build()
- Specified by:
build
in interface com.google.protobuf.Message.Builder
- Specified by:
build
in interface com.google.protobuf.MessageLite.Builder
buildPartial
public ProtocolInfoProtos.GetProtocolVersionsRequestProto buildPartial()
- Specified by:
buildPartial
in interface com.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interface com.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder>
mergeFrom
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder mergeFrom(ProtocolInfoProtos.GetProtocolVersionsRequestProto other)
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder>
mergeFrom
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Specified by:
mergeFrom
in interface com.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder>
- Throws:
IOException
hasProtocol
public boolean hasProtocol()
required string protocol = 1;
Protocol name
- Specified by:
hasProtocol
in interface ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilder
getProtocol
public String getProtocol()
required string protocol = 1;
Protocol name
- Specified by:
getProtocol
in interface ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilder
getProtocolBytes
public com.google.protobuf.ByteString getProtocolBytes()
required string protocol = 1;
Protocol name
- Specified by:
getProtocolBytes
in interface ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilder
setProtocol
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder setProtocol(String value)
required string protocol = 1;
Protocol name
clearProtocol
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder clearProtocol()
required string protocol = 1;
Protocol name
setProtocolBytes
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder setProtocolBytes(com.google.protobuf.ByteString value)
required string protocol = 1;
Protocol name
Copyright © 2013 Apache Software Foundation. All Rights Reserved.