alluxio.grpc.WorkerInfoOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alluxio-shaded-hadoop3-client Show documentation
Show all versions of alluxio-shaded-hadoop3-client Show documentation
Shaded Alluxio Client Module for hadoop 3
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/block_master.proto
package alluxio.grpc;
public interface WorkerInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.grpc.block.WorkerInfo)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
*
* deprecated in favor of WorkerIdentity
*
*
* optional int64 id = 1 [deprecated = true];
* @deprecated
* @return Whether the id field is set.
*/
@java.lang.Deprecated boolean hasId();
/**
*
* deprecated in favor of WorkerIdentity
*
*
* optional int64 id = 1 [deprecated = true];
* @deprecated
* @return The id.
*/
@java.lang.Deprecated long getId();
/**
* optional .alluxio.grpc.WorkerNetAddress address = 2;
* @return Whether the address field is set.
*/
boolean hasAddress();
/**
* optional .alluxio.grpc.WorkerNetAddress address = 2;
* @return The address.
*/
alluxio.grpc.WorkerNetAddress getAddress();
/**
* optional .alluxio.grpc.WorkerNetAddress address = 2;
*/
alluxio.grpc.WorkerNetAddressOrBuilder getAddressOrBuilder();
/**
* optional int32 lastContactSec = 3;
* @return Whether the lastContactSec field is set.
*/
boolean hasLastContactSec();
/**
* optional int32 lastContactSec = 3;
* @return The lastContactSec.
*/
int getLastContactSec();
/**
* optional string state = 4;
* @return Whether the state field is set.
*/
boolean hasState();
/**
* optional string state = 4;
* @return The state.
*/
java.lang.String getState();
/**
* optional string state = 4;
* @return The bytes for state.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getStateBytes();
/**
* optional int64 capacityBytes = 5;
* @return Whether the capacityBytes field is set.
*/
boolean hasCapacityBytes();
/**
* optional int64 capacityBytes = 5;
* @return The capacityBytes.
*/
long getCapacityBytes();
/**
* optional int64 usedBytes = 6;
* @return Whether the usedBytes field is set.
*/
boolean hasUsedBytes();
/**
* optional int64 usedBytes = 6;
* @return The usedBytes.
*/
long getUsedBytes();
/**
* optional int64 startTimeMs = 7;
* @return Whether the startTimeMs field is set.
*/
boolean hasStartTimeMs();
/**
* optional int64 startTimeMs = 7;
* @return The startTimeMs.
*/
long getStartTimeMs();
/**
* map<string, int64> capacityBytesOnTiers = 8;
*/
int getCapacityBytesOnTiersCount();
/**
* map<string, int64> capacityBytesOnTiers = 8;
*/
boolean containsCapacityBytesOnTiers(
java.lang.String key);
/**
* Use {@link #getCapacityBytesOnTiersMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getCapacityBytesOnTiers();
/**
* map<string, int64> capacityBytesOnTiers = 8;
*/
java.util.Map
getCapacityBytesOnTiersMap();
/**
* map<string, int64> capacityBytesOnTiers = 8;
*/
long getCapacityBytesOnTiersOrDefault(
java.lang.String key,
long defaultValue);
/**
* map<string, int64> capacityBytesOnTiers = 8;
*/
long getCapacityBytesOnTiersOrThrow(
java.lang.String key);
/**
* map<string, int64> usedBytesOnTiers = 9;
*/
int getUsedBytesOnTiersCount();
/**
* map<string, int64> usedBytesOnTiers = 9;
*/
boolean containsUsedBytesOnTiers(
java.lang.String key);
/**
* Use {@link #getUsedBytesOnTiersMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getUsedBytesOnTiers();
/**
* map<string, int64> usedBytesOnTiers = 9;
*/
java.util.Map
getUsedBytesOnTiersMap();
/**
* map<string, int64> usedBytesOnTiers = 9;
*/
long getUsedBytesOnTiersOrDefault(
java.lang.String key,
long defaultValue);
/**
* map<string, int64> usedBytesOnTiers = 9;
*/
long getUsedBytesOnTiersOrThrow(
java.lang.String key);
/**
* optional .alluxio.grpc.BuildVersion buildVersion = 10;
* @return Whether the buildVersion field is set.
*/
boolean hasBuildVersion();
/**
* optional .alluxio.grpc.BuildVersion buildVersion = 10;
* @return The buildVersion.
*/
alluxio.grpc.BuildVersion getBuildVersion();
/**
* optional .alluxio.grpc.BuildVersion buildVersion = 10;
*/
alluxio.grpc.BuildVersionOrBuilder getBuildVersionOrBuilder();
/**
* optional .alluxio.grpc.WorkerIdentity identity = 11;
* @return Whether the identity field is set.
*/
boolean hasIdentity();
/**
* optional .alluxio.grpc.WorkerIdentity identity = 11;
* @return The identity.
*/
alluxio.grpc.WorkerIdentity getIdentity();
/**
* optional .alluxio.grpc.WorkerIdentity identity = 11;
*/
alluxio.grpc.WorkerIdentityOrBuilder getIdentityOrBuilder();
}