public static final class ZooKeeperProtos.Master.Builder extends com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.Master.Builder> implements ZooKeeperProtos.MasterOrBuilder
Master
Content of the master znode.
Modifier and Type | Method and Description |
---|---|
ZooKeeperProtos.Master |
build() |
ZooKeeperProtos.Master |
buildPartial() |
ZooKeeperProtos.Master.Builder |
clear() |
ZooKeeperProtos.Master.Builder |
clearInfoPort()
optional uint32 info_port = 3; |
ZooKeeperProtos.Master.Builder |
clearMaster()
required .ServerName master = 1; |
ZooKeeperProtos.Master.Builder |
clearRpcVersion()
optional uint32 rpc_version = 2; |
ZooKeeperProtos.Master.Builder |
clone() |
ZooKeeperProtos.Master |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getInfoPort()
optional uint32 info_port = 3; |
HBaseProtos.ServerName |
getMaster()
required .ServerName master = 1; |
HBaseProtos.ServerName.Builder |
getMasterBuilder()
required .ServerName master = 1; |
HBaseProtos.ServerNameOrBuilder |
getMasterOrBuilder()
required .ServerName master = 1; |
int |
getRpcVersion()
optional uint32 rpc_version = 2; |
boolean |
hasInfoPort()
optional uint32 info_port = 3; |
boolean |
hasMaster()
required .ServerName master = 1; |
boolean |
hasRpcVersion()
optional uint32 rpc_version = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ZooKeeperProtos.Master.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperProtos.Master.Builder |
mergeFrom(com.google.protobuf.Message other) |
ZooKeeperProtos.Master.Builder |
mergeFrom(ZooKeeperProtos.Master other) |
ZooKeeperProtos.Master.Builder |
mergeMaster(HBaseProtos.ServerName value)
required .ServerName master = 1; |
ZooKeeperProtos.Master.Builder |
setInfoPort(int value)
optional uint32 info_port = 3; |
ZooKeeperProtos.Master.Builder |
setMaster(HBaseProtos.ServerName.Builder builderForValue)
required .ServerName master = 1; |
ZooKeeperProtos.Master.Builder |
setMaster(HBaseProtos.ServerName value)
required .ServerName master = 1; |
ZooKeeperProtos.Master.Builder |
setRpcVersion(int value)
optional uint32 rpc_version = 2; |
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<ZooKeeperProtos.Master.Builder>
public ZooKeeperProtos.Master.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<ZooKeeperProtos.Master.Builder>
public ZooKeeperProtos.Master.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<ZooKeeperProtos.Master.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<ZooKeeperProtos.Master.Builder>
public ZooKeeperProtos.Master getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ZooKeeperProtos.Master build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.Master buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ZooKeeperProtos.Master.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProtos.Master.Builder>
public ZooKeeperProtos.Master.Builder mergeFrom(ZooKeeperProtos.Master other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<ZooKeeperProtos.Master.Builder>
public ZooKeeperProtos.Master.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<ZooKeeperProtos.Master.Builder>
IOException
public boolean hasMaster()
required .ServerName master = 1;
The ServerName of the current Master
hasMaster
in interface ZooKeeperProtos.MasterOrBuilder
public HBaseProtos.ServerName getMaster()
required .ServerName master = 1;
The ServerName of the current Master
getMaster
in interface ZooKeeperProtos.MasterOrBuilder
public ZooKeeperProtos.Master.Builder setMaster(HBaseProtos.ServerName value)
required .ServerName master = 1;
The ServerName of the current Master
public ZooKeeperProtos.Master.Builder setMaster(HBaseProtos.ServerName.Builder builderForValue)
required .ServerName master = 1;
The ServerName of the current Master
public ZooKeeperProtos.Master.Builder mergeMaster(HBaseProtos.ServerName value)
required .ServerName master = 1;
The ServerName of the current Master
public ZooKeeperProtos.Master.Builder clearMaster()
required .ServerName master = 1;
The ServerName of the current Master
public HBaseProtos.ServerName.Builder getMasterBuilder()
required .ServerName master = 1;
The ServerName of the current Master
public HBaseProtos.ServerNameOrBuilder getMasterOrBuilder()
required .ServerName master = 1;
The ServerName of the current Master
getMasterOrBuilder
in interface ZooKeeperProtos.MasterOrBuilder
public boolean hasRpcVersion()
optional uint32 rpc_version = 2;
Major RPC version so that clients can know what version the master can accept.
hasRpcVersion
in interface ZooKeeperProtos.MasterOrBuilder
public int getRpcVersion()
optional uint32 rpc_version = 2;
Major RPC version so that clients can know what version the master can accept.
getRpcVersion
in interface ZooKeeperProtos.MasterOrBuilder
public ZooKeeperProtos.Master.Builder setRpcVersion(int value)
optional uint32 rpc_version = 2;
Major RPC version so that clients can know what version the master can accept.
public ZooKeeperProtos.Master.Builder clearRpcVersion()
optional uint32 rpc_version = 2;
Major RPC version so that clients can know what version the master can accept.
public boolean hasInfoPort()
optional uint32 info_port = 3;
hasInfoPort
in interface ZooKeeperProtos.MasterOrBuilder
public int getInfoPort()
optional uint32 info_port = 3;
getInfoPort
in interface ZooKeeperProtos.MasterOrBuilder
public ZooKeeperProtos.Master.Builder setInfoPort(int value)
optional uint32 info_port = 3;
public ZooKeeperProtos.Master.Builder clearInfoPort()
optional uint32 info_port = 3;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.