public static final class ProtocolInfoProtos.ProtocolVersionProto.Builder extends <any> implements ProtocolInfoProtos.ProtocolVersionProtoOrBuilder
Protocol version with corresponding rpc kind.Protobuf type
hadoop.common.ProtocolVersionProtopublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public ProtocolInfoProtos.ProtocolVersionProto.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.MessageOrBuilderpublic ProtocolInfoProtos.ProtocolVersionProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ProtocolInfoProtos.ProtocolVersionProto build()
public ProtocolInfoProtos.ProtocolVersionProto buildPartial()
public ProtocolInfoProtos.ProtocolVersionProto.Builder clone()
public ProtocolInfoProtos.ProtocolVersionProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public ProtocolInfoProtos.ProtocolVersionProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public ProtocolInfoProtos.ProtocolVersionProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public ProtocolInfoProtos.ProtocolVersionProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public ProtocolInfoProtos.ProtocolVersionProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public ProtocolInfoProtos.ProtocolVersionProto.Builder mergeFrom(com.google.protobuf.Message other)
public ProtocolInfoProtos.ProtocolVersionProto.Builder mergeFrom(ProtocolInfoProtos.ProtocolVersionProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic ProtocolInfoProtos.ProtocolVersionProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic boolean hasRpcKind()
RPC kind
required string rpcKind = 1;hasRpcKind in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilderpublic String getRpcKind()
RPC kind
required string rpcKind = 1;getRpcKind in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilderpublic com.google.protobuf.ByteString getRpcKindBytes()
RPC kind
required string rpcKind = 1;getRpcKindBytes in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilderpublic ProtocolInfoProtos.ProtocolVersionProto.Builder setRpcKind(String value)
RPC kind
required string rpcKind = 1;public ProtocolInfoProtos.ProtocolVersionProto.Builder clearRpcKind()
RPC kind
required string rpcKind = 1;public ProtocolInfoProtos.ProtocolVersionProto.Builder setRpcKindBytes(com.google.protobuf.ByteString value)
RPC kind
required string rpcKind = 1;public List<Long> getVersionsList()
Protocol version corresponding to the rpc kind.
repeated uint64 versions = 2;getVersionsList in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilderpublic int getVersionsCount()
Protocol version corresponding to the rpc kind.
repeated uint64 versions = 2;getVersionsCount in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilderpublic long getVersions(int index)
Protocol version corresponding to the rpc kind.
repeated uint64 versions = 2;getVersions in interface ProtocolInfoProtos.ProtocolVersionProtoOrBuilderpublic ProtocolInfoProtos.ProtocolVersionProto.Builder setVersions(int index, long value)
Protocol version corresponding to the rpc kind.
repeated uint64 versions = 2;public ProtocolInfoProtos.ProtocolVersionProto.Builder addVersions(long value)
Protocol version corresponding to the rpc kind.
repeated uint64 versions = 2;public ProtocolInfoProtos.ProtocolVersionProto.Builder addAllVersions(Iterable<? extends Long> values)
Protocol version corresponding to the rpc kind.
repeated uint64 versions = 2;public ProtocolInfoProtos.ProtocolVersionProto.Builder clearVersions()
Protocol version corresponding to the rpc kind.
repeated uint64 versions = 2;public final ProtocolInfoProtos.ProtocolVersionProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final ProtocolInfoProtos.ProtocolVersionProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.