Package org.apache.spark.status.protobuf
Class StoreTypes.ProcessSummary.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StoreTypes.ProcessSummary.Builder>
org.apache.spark.status.protobuf.StoreTypes.ProcessSummary.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,StoreTypes.ProcessSummaryOrBuilder
- Enclosing class:
- StoreTypes.ProcessSummary
public static final class StoreTypes.ProcessSummary.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StoreTypes.ProcessSummary.Builder>
implements StoreTypes.ProcessSummaryOrBuilder
Protobuf type
org.apache.spark.status.protobuf.ProcessSummary-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()int64 add_time = 5;optional string host_port = 2;clearId()optional string id = 1;bool is_active = 3;optional int64 remove_time = 6;int32 total_cores = 4;booleanmap<string, string> process_logs = 7;longint64 add_time = 5;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional string host_port = 2;com.google.protobuf.ByteStringoptional string host_port = 2;getId()optional string id = 1;com.google.protobuf.ByteStringoptional string id = 1;booleanbool is_active = 3;Deprecated.Deprecated.intmap<string, string> process_logs = 7;map<string, string> process_logs = 7;getProcessLogsOrDefault(String key, String defaultValue) map<string, string> process_logs = 7;map<string, string> process_logs = 7;longoptional int64 remove_time = 6;intint32 total_cores = 4;booleanoptional string host_port = 2;booleanhasId()optional string id = 1;booleanoptional int64 remove_time = 6;final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllProcessLogs(Map<String, String> values) map<string, string> process_logs = 7;putProcessLogs(String key, String value) map<string, string> process_logs = 7;removeProcessLogs(String key) map<string, string> process_logs = 7;setAddTime(long value) int64 add_time = 5;setHostPort(String value) optional string host_port = 2;setHostPortBytes(com.google.protobuf.ByteString value) optional string host_port = 2;optional string id = 1;setIdBytes(com.google.protobuf.ByteString value) optional string id = 1;setIsActive(boolean value) bool is_active = 3;setRemoveTime(long value) optional int64 remove_time = 6;setTotalCores(int value) int32 total_cores = 4;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFieldsMethods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom, mergeDelimitedFrom, mergeFromMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.ProcessSummary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.ProcessSummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.ProcessSummary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.ProcessSummary.Builder>
-
mergeFrom
public StoreTypes.ProcessSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.ProcessSummary.Builder>- Throws:
IOException
-
hasId
public boolean hasId()optional string id = 1;- Specified by:
hasIdin interfaceStoreTypes.ProcessSummaryOrBuilder- Returns:
- Whether the id field is set.
-
getId
optional string id = 1;- Specified by:
getIdin interfaceStoreTypes.ProcessSummaryOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()optional string id = 1;- Specified by:
getIdBytesin interfaceStoreTypes.ProcessSummaryOrBuilder- Returns:
- The bytes for id.
-
setId
optional string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
optional string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
optional string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasHostPort
public boolean hasHostPort()optional string host_port = 2;- Specified by:
hasHostPortin interfaceStoreTypes.ProcessSummaryOrBuilder- Returns:
- Whether the hostPort field is set.
-
getHostPort
optional string host_port = 2;- Specified by:
getHostPortin interfaceStoreTypes.ProcessSummaryOrBuilder- Returns:
- The hostPort.
-
getHostPortBytes
public com.google.protobuf.ByteString getHostPortBytes()optional string host_port = 2;- Specified by:
getHostPortBytesin interfaceStoreTypes.ProcessSummaryOrBuilder- Returns:
- The bytes for hostPort.
-
setHostPort
optional string host_port = 2;- Parameters:
value- The hostPort to set.- Returns:
- This builder for chaining.
-
clearHostPort
optional string host_port = 2;- Returns:
- This builder for chaining.
-
setHostPortBytes
optional string host_port = 2;- Parameters:
value- The bytes for hostPort to set.- Returns:
- This builder for chaining.
-
getIsActive
public boolean getIsActive()bool is_active = 3;- Specified by:
getIsActivein interfaceStoreTypes.ProcessSummaryOrBuilder- Returns:
- The isActive.
-
setIsActive
bool is_active = 3;- Parameters:
value- The isActive to set.- Returns:
- This builder for chaining.
-
clearIsActive
bool is_active = 3;- Returns:
- This builder for chaining.
-
getTotalCores
public int getTotalCores()int32 total_cores = 4;- Specified by:
getTotalCoresin interfaceStoreTypes.ProcessSummaryOrBuilder- Returns:
- The totalCores.
-
setTotalCores
int32 total_cores = 4;- Parameters:
value- The totalCores to set.- Returns:
- This builder for chaining.
-
clearTotalCores
int32 total_cores = 4;- Returns:
- This builder for chaining.
-
getAddTime
public long getAddTime()int64 add_time = 5;- Specified by:
getAddTimein interfaceStoreTypes.ProcessSummaryOrBuilder- Returns:
- The addTime.
-
setAddTime
int64 add_time = 5;- Parameters:
value- The addTime to set.- Returns:
- This builder for chaining.
-
clearAddTime
int64 add_time = 5;- Returns:
- This builder for chaining.
-
hasRemoveTime
public boolean hasRemoveTime()optional int64 remove_time = 6;- Specified by:
hasRemoveTimein interfaceStoreTypes.ProcessSummaryOrBuilder- Returns:
- Whether the removeTime field is set.
-
getRemoveTime
public long getRemoveTime()optional int64 remove_time = 6;- Specified by:
getRemoveTimein interfaceStoreTypes.ProcessSummaryOrBuilder- Returns:
- The removeTime.
-
setRemoveTime
optional int64 remove_time = 6;- Parameters:
value- The removeTime to set.- Returns:
- This builder for chaining.
-
clearRemoveTime
optional int64 remove_time = 6;- Returns:
- This builder for chaining.
-
getProcessLogsCount
public int getProcessLogsCount()Description copied from interface:StoreTypes.ProcessSummaryOrBuildermap<string, string> process_logs = 7;- Specified by:
getProcessLogsCountin interfaceStoreTypes.ProcessSummaryOrBuilder
-
containsProcessLogs
map<string, string> process_logs = 7;- Specified by:
containsProcessLogsin interfaceStoreTypes.ProcessSummaryOrBuilder
-
getProcessLogs
Deprecated.UsegetProcessLogsMap()instead.- Specified by:
getProcessLogsin interfaceStoreTypes.ProcessSummaryOrBuilder
-
getProcessLogsMap
map<string, string> process_logs = 7;- Specified by:
getProcessLogsMapin interfaceStoreTypes.ProcessSummaryOrBuilder
-
getProcessLogsOrDefault
map<string, string> process_logs = 7;- Specified by:
getProcessLogsOrDefaultin interfaceStoreTypes.ProcessSummaryOrBuilder
-
getProcessLogsOrThrow
map<string, string> process_logs = 7;- Specified by:
getProcessLogsOrThrowin interfaceStoreTypes.ProcessSummaryOrBuilder
-
clearProcessLogs
-
removeProcessLogs
map<string, string> process_logs = 7; -
getMutableProcessLogs
Deprecated.Use alternate mutation accessors instead. -
putProcessLogs
map<string, string> process_logs = 7; -
putAllProcessLogs
map<string, string> process_logs = 7;
-