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.MessageOrBuilder
public 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.GetProtocolVersionsRequestProtoOrBuilder
public String getProtocol()
Protocol name
required string protocol = 1;
getProtocol
in interface ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilder
public com.google.protobuf.ByteString getProtocolBytes()
Protocol name
required string protocol = 1;
getProtocolBytes
in interface ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
IOException
public 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.InvalidProtocolBufferException
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(InputStream input) throws IOException
IOException
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ProtocolInfoProtos.GetProtocolVersionsRequestProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.