public static final class ProtocolInfoProtos.ProtocolVersionProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.ProtocolVersionProto.Builder> implements ProtocolInfoProtos.ProtocolVersionProtoOrBuilder
hadoop.common.ProtocolVersionProto
Protocol version with corresponding rpc kind.
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.ProtocolVersionProto.Builder>
public ProtocolInfoProtos.ProtocolVersionProto.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.ProtocolVersionProto.Builder>
public ProtocolInfoProtos.ProtocolVersionProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.ProtocolVersionProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.ProtocolVersionProto.Builder>
public ProtocolInfoProtos.ProtocolVersionProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ProtocolInfoProtos.ProtocolVersionProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ProtocolInfoProtos.ProtocolVersionProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ProtocolInfoProtos.ProtocolVersionProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ProtocolInfoProtos.ProtocolVersionProto.Builder>
public ProtocolInfoProtos.ProtocolVersionProto.Builder mergeFrom(ProtocolInfoProtos.ProtocolVersionProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ProtocolInfoProtos.ProtocolVersionProto.Builder>
public ProtocolInfoProtos.ProtocolVersionProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ProtocolInfoProtos.ProtocolVersionProto.Builder>
IOException
public boolean hasRpcKind()
required string rpcKind = 1;
RPC kind
hasRpcKind
in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilder
public String getRpcKind()
required string rpcKind = 1;
RPC kind
getRpcKind
in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilder
public com.google.protobuf.ByteString getRpcKindBytes()
required string rpcKind = 1;
RPC kind
getRpcKindBytes
in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilder
public ProtocolInfoProtos.ProtocolVersionProto.Builder setRpcKind(String value)
required string rpcKind = 1;
RPC kind
public ProtocolInfoProtos.ProtocolVersionProto.Builder clearRpcKind()
required string rpcKind = 1;
RPC kind
public ProtocolInfoProtos.ProtocolVersionProto.Builder setRpcKindBytes(com.google.protobuf.ByteString value)
required string rpcKind = 1;
RPC kind
public List<Long> getVersionsList()
repeated uint64 versions = 2;
Protocol version corresponding to the rpc kind.
getVersionsList
in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilder
public int getVersionsCount()
repeated uint64 versions = 2;
Protocol version corresponding to the rpc kind.
getVersionsCount
in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilder
public long getVersions(int index)
repeated uint64 versions = 2;
Protocol version corresponding to the rpc kind.
getVersions
in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilder
public ProtocolInfoProtos.ProtocolVersionProto.Builder setVersions(int index, long value)
repeated uint64 versions = 2;
Protocol version corresponding to the rpc kind.
public ProtocolInfoProtos.ProtocolVersionProto.Builder addVersions(long value)
repeated uint64 versions = 2;
Protocol version corresponding to the rpc kind.
public ProtocolInfoProtos.ProtocolVersionProto.Builder addAllVersions(Iterable<? extends Long> values)
repeated uint64 versions = 2;
Protocol version corresponding to the rpc kind.
public ProtocolInfoProtos.ProtocolVersionProto.Builder clearVersions()
repeated uint64 versions = 2;
Protocol version corresponding to the rpc kind.
Copyright © 2017 Apache Software Foundation. All Rights Reserved.