public static final class HBaseProtos.ServerName.Builder extends com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.ServerName.Builder> implements HBaseProtos.ServerNameOrBuilder
ServerName
Protocol buffer version of ServerName
Modifier and Type | Method and Description |
---|---|
HBaseProtos.ServerName |
build() |
HBaseProtos.ServerName |
buildPartial() |
HBaseProtos.ServerName.Builder |
clear() |
HBaseProtos.ServerName.Builder |
clearHostName()
required string host_name = 1; |
HBaseProtos.ServerName.Builder |
clearPort()
optional uint32 port = 2; |
HBaseProtos.ServerName.Builder |
clearStartCode()
optional uint64 start_code = 3; |
HBaseProtos.ServerName.Builder |
clone() |
HBaseProtos.ServerName |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostName()
required string host_name = 1; |
com.google.protobuf.ByteString |
getHostNameBytes()
required string host_name = 1; |
int |
getPort()
optional uint32 port = 2; |
long |
getStartCode()
optional uint64 start_code = 3; |
boolean |
hasHostName()
required string host_name = 1; |
boolean |
hasPort()
optional uint32 port = 2; |
boolean |
hasStartCode()
optional uint64 start_code = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HBaseProtos.ServerName.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HBaseProtos.ServerName.Builder |
mergeFrom(HBaseProtos.ServerName other) |
HBaseProtos.ServerName.Builder |
mergeFrom(com.google.protobuf.Message other) |
HBaseProtos.ServerName.Builder |
setHostName(String value)
required string host_name = 1; |
HBaseProtos.ServerName.Builder |
setHostNameBytes(com.google.protobuf.ByteString value)
required string host_name = 1; |
HBaseProtos.ServerName.Builder |
setPort(int value)
optional uint32 port = 2; |
HBaseProtos.ServerName.Builder |
setStartCode(long value)
optional uint64 start_code = 3; |
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<HBaseProtos.ServerName.Builder>
public HBaseProtos.ServerName.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<HBaseProtos.ServerName.Builder>
public HBaseProtos.ServerName.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<HBaseProtos.ServerName.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<HBaseProtos.ServerName.Builder>
public HBaseProtos.ServerName getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HBaseProtos.ServerName build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HBaseProtos.ServerName buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HBaseProtos.ServerName.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HBaseProtos.ServerName.Builder>
public HBaseProtos.ServerName.Builder mergeFrom(HBaseProtos.ServerName other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.ServerName.Builder>
public HBaseProtos.ServerName.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<HBaseProtos.ServerName.Builder>
IOException
public boolean hasHostName()
required string host_name = 1;
hasHostName
in interface HBaseProtos.ServerNameOrBuilder
public String getHostName()
required string host_name = 1;
getHostName
in interface HBaseProtos.ServerNameOrBuilder
public com.google.protobuf.ByteString getHostNameBytes()
required string host_name = 1;
getHostNameBytes
in interface HBaseProtos.ServerNameOrBuilder
public HBaseProtos.ServerName.Builder setHostName(String value)
required string host_name = 1;
public HBaseProtos.ServerName.Builder clearHostName()
required string host_name = 1;
public HBaseProtos.ServerName.Builder setHostNameBytes(com.google.protobuf.ByteString value)
required string host_name = 1;
public boolean hasPort()
optional uint32 port = 2;
hasPort
in interface HBaseProtos.ServerNameOrBuilder
public int getPort()
optional uint32 port = 2;
getPort
in interface HBaseProtos.ServerNameOrBuilder
public HBaseProtos.ServerName.Builder setPort(int value)
optional uint32 port = 2;
public HBaseProtos.ServerName.Builder clearPort()
optional uint32 port = 2;
public boolean hasStartCode()
optional uint64 start_code = 3;
hasStartCode
in interface HBaseProtos.ServerNameOrBuilder
public long getStartCode()
optional uint64 start_code = 3;
getStartCode
in interface HBaseProtos.ServerNameOrBuilder
public HBaseProtos.ServerName.Builder setStartCode(long value)
optional uint64 start_code = 3;
public HBaseProtos.ServerName.Builder clearStartCode()
optional uint64 start_code = 3;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.