public static final class ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder extends <any> implements ProtocolInfoProtos.GetProtocolVersionsRequestProtoOrBuilder
Request to get protocol versions for all supported rpc kinds.Protobuf type
hadoop.common.GetProtocolVersionsRequestProto
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
public ProtocolInfoProtos.GetProtocolVersionsRequestProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ProtocolInfoProtos.GetProtocolVersionsRequestProto build()
public ProtocolInfoProtos.GetProtocolVersionsRequestProto buildPartial()
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder clone()
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder mergeFrom(com.google.protobuf.Message other)
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder mergeFrom(ProtocolInfoProtos.GetProtocolVersionsRequestProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
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 ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder setProtocol(String value)
Protocol name
required string protocol = 1;
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder clearProtocol()
Protocol name
required string protocol = 1;
public ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder setProtocolBytes(com.google.protobuf.ByteString value)
Protocol name
required string protocol = 1;
public final ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final ProtocolInfoProtos.GetProtocolVersionsRequestProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.