Package org.apache.drill.exec.proto
Interface CoordinationProtos.DrillbitEndpointOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CoordinationProtos.DrillbitEndpoint
,CoordinationProtos.DrillbitEndpoint.Builder
- Enclosing class:
- CoordinationProtos
public static interface CoordinationProtos.DrillbitEndpointOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional string address = 1;
com.google.protobuf.ByteString
optional string address = 1;
int
optional int32 control_port = 3;
int
optional int32 data_port = 4;
int
optional int32 http_port = 8;
getRoles()
optional .exec.Roles roles = 5;
optional .exec.Roles roles = 5;
getState()
optional .exec.DrillbitEndpoint.State state = 7;
int
optional int32 user_port = 2;
optional string version = 6;
com.google.protobuf.ByteString
optional string version = 6;
boolean
optional string address = 1;
boolean
optional int32 control_port = 3;
boolean
optional int32 data_port = 4;
boolean
optional int32 http_port = 8;
boolean
hasRoles()
optional .exec.Roles roles = 5;
boolean
hasState()
optional .exec.DrillbitEndpoint.State state = 7;
boolean
optional int32 user_port = 2;
boolean
optional string version = 6;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAddress
boolean hasAddress()optional string address = 1;
- Returns:
- Whether the address field is set.
-
getAddress
String getAddress()optional string address = 1;
- Returns:
- The address.
-
getAddressBytes
com.google.protobuf.ByteString getAddressBytes()optional string address = 1;
- Returns:
- The bytes for address.
-
hasUserPort
boolean hasUserPort()optional int32 user_port = 2;
- Returns:
- Whether the userPort field is set.
-
getUserPort
int getUserPort()optional int32 user_port = 2;
- Returns:
- The userPort.
-
hasControlPort
boolean hasControlPort()optional int32 control_port = 3;
- Returns:
- Whether the controlPort field is set.
-
getControlPort
int getControlPort()optional int32 control_port = 3;
- Returns:
- The controlPort.
-
hasDataPort
boolean hasDataPort()optional int32 data_port = 4;
- Returns:
- Whether the dataPort field is set.
-
getDataPort
int getDataPort()optional int32 data_port = 4;
- Returns:
- The dataPort.
-
hasRoles
boolean hasRoles()optional .exec.Roles roles = 5;
- Returns:
- Whether the roles field is set.
-
getRoles
CoordinationProtos.Roles getRoles()optional .exec.Roles roles = 5;
- Returns:
- The roles.
-
getRolesOrBuilder
CoordinationProtos.RolesOrBuilder getRolesOrBuilder()optional .exec.Roles roles = 5;
-
hasVersion
boolean hasVersion()optional string version = 6;
- Returns:
- Whether the version field is set.
-
getVersion
String getVersion()optional string version = 6;
- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()optional string version = 6;
- Returns:
- The bytes for version.
-
hasState
boolean hasState()optional .exec.DrillbitEndpoint.State state = 7;
- Returns:
- Whether the state field is set.
-
getState
CoordinationProtos.DrillbitEndpoint.State getState()optional .exec.DrillbitEndpoint.State state = 7;
- Returns:
- The state.
-
hasHttpPort
boolean hasHttpPort()optional int32 http_port = 8;
- Returns:
- Whether the httpPort field is set.
-
getHttpPort
int getHttpPort()optional int32 http_port = 8;
- Returns:
- The httpPort.
-