public static final class ProtocolInfoProtos.GetProtocolVersionsRequestProto extends com.google.protobuf.GeneratedMessageV3 implements ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilder
Request to get protocol versions for all supported rpc kinds.Protobuf type
hadoop.common.GetProtocolVersionsRequestProto| Modifier and Type | Class and Description |
|---|---|
static class |
ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder
Request to get protocol versions for all supported rpc kinds.
|
| Modifier and Type | Field and Description |
|---|---|
static com.google.protobuf.Parser<ProtocolInfoProtos.GetProtocolVersionsRequestProto> |
PARSER
Deprecated.
|
static int |
PROTOCOL_FIELD_NUMBER |
public static final int PROTOCOL_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<ProtocolInfoProtos.GetProtocolVersionsRequestProto> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuilderpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public boolean hasProtocol()
Protocol name
required string protocol = 1;hasProtocol in interface ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilderpublic String getProtocol()
Protocol name
required string protocol = 1;getProtocol in interface ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilderpublic com.google.protobuf.ByteString getProtocolBytes()
Protocol name
required string protocol = 1;getProtocolBytes in interface ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
IOExceptionpublic int getSerializedSize()
public boolean equals(Object obj)
public int hashCode()
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder newBuilderForType()
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder newBuilder()
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder newBuilder(ProtocolInfoProtos.GetProtocolVersionsRequestProto prototype)
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder toBuilder()
protected ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto getDefaultInstance()
public static com.google.protobuf.Parser<ProtocolInfoProtos.GetProtocolVersionsRequestProto> parser()
public com.google.protobuf.Parser<ProtocolInfoProtos.GetProtocolVersionsRequestProto> getParserForType()
public ProtocolInfoProtos.GetProtocolVersionsRequestProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2008–2020 Apache Software Foundation. All rights reserved.