public static final class StoreTypes.ProcessSummary.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.Builder> implements StoreTypes.ProcessSummaryOrBuilder
org.apache.spark.status.protobuf.ProcessSummary
Modifier and Type | Method and Description |
---|---|
StoreTypes.ProcessSummary.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.ProcessSummary |
build() |
StoreTypes.ProcessSummary |
buildPartial() |
StoreTypes.ProcessSummary.Builder |
clear() |
StoreTypes.ProcessSummary.Builder |
clearAddTime()
int64 add_time = 5; |
StoreTypes.ProcessSummary.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoreTypes.ProcessSummary.Builder |
clearHostPort()
optional string host_port = 2; |
StoreTypes.ProcessSummary.Builder |
clearId()
optional string id = 1; |
StoreTypes.ProcessSummary.Builder |
clearIsActive()
bool is_active = 3; |
StoreTypes.ProcessSummary.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoreTypes.ProcessSummary.Builder |
clearProcessLogs() |
StoreTypes.ProcessSummary.Builder |
clearRemoveTime()
optional int64 remove_time = 6; |
StoreTypes.ProcessSummary.Builder |
clearTotalCores()
int32 total_cores = 4; |
StoreTypes.ProcessSummary.Builder |
clone() |
boolean |
containsProcessLogs(String key)
map<string, string> process_logs = 7; |
long |
getAddTime()
int64 add_time = 5; |
StoreTypes.ProcessSummary |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostPort()
optional string host_port = 2; |
com.google.protobuf.ByteString |
getHostPortBytes()
optional string host_port = 2; |
String |
getId()
optional string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
optional string id = 1; |
boolean |
getIsActive()
bool is_active = 3; |
java.util.Map<String,String> |
getMutableProcessLogs()
Deprecated.
|
java.util.Map<String,String> |
getProcessLogs()
Deprecated.
|
int |
getProcessLogsCount()
map<string, string> process_logs = 7; |
java.util.Map<String,String> |
getProcessLogsMap()
map<string, string> process_logs = 7; |
String |
getProcessLogsOrDefault(String key,
String defaultValue)
map<string, string> process_logs = 7; |
String |
getProcessLogsOrThrow(String key)
map<string, string> process_logs = 7; |
long |
getRemoveTime()
optional int64 remove_time = 6; |
int |
getTotalCores()
int32 total_cores = 4; |
boolean |
hasHostPort()
optional string host_port = 2; |
boolean |
hasId()
optional string id = 1; |
boolean |
hasRemoveTime()
optional int64 remove_time = 6; |
boolean |
isInitialized() |
StoreTypes.ProcessSummary.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoreTypes.ProcessSummary.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoreTypes.ProcessSummary.Builder |
mergeFrom(StoreTypes.ProcessSummary other) |
StoreTypes.ProcessSummary.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.ProcessSummary.Builder |
putAllProcessLogs(java.util.Map<String,String> values)
map<string, string> process_logs = 7; |
StoreTypes.ProcessSummary.Builder |
putProcessLogs(String key,
String value)
map<string, string> process_logs = 7; |
StoreTypes.ProcessSummary.Builder |
removeProcessLogs(String key)
map<string, string> process_logs = 7; |
StoreTypes.ProcessSummary.Builder |
setAddTime(long value)
int64 add_time = 5; |
StoreTypes.ProcessSummary.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.ProcessSummary.Builder |
setHostPort(String value)
optional string host_port = 2; |
StoreTypes.ProcessSummary.Builder |
setHostPortBytes(com.google.protobuf.ByteString value)
optional string host_port = 2; |
StoreTypes.ProcessSummary.Builder |
setId(String value)
optional string id = 1; |
StoreTypes.ProcessSummary.Builder |
setIdBytes(com.google.protobuf.ByteString value)
optional string id = 1; |
StoreTypes.ProcessSummary.Builder |
setIsActive(boolean value)
bool is_active = 3; |
StoreTypes.ProcessSummary.Builder |
setRemoveTime(long value)
optional int64 remove_time = 6; |
StoreTypes.ProcessSummary.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoreTypes.ProcessSummary.Builder |
setTotalCores(int value)
int32 total_cores = 4; |
StoreTypes.ProcessSummary.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public StoreTypes.ProcessSummary.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.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.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.Builder>
public StoreTypes.ProcessSummary getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StoreTypes.ProcessSummary build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.ProcessSummary buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.ProcessSummary.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.Builder>
public StoreTypes.ProcessSummary.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.Builder>
public StoreTypes.ProcessSummary.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.Builder>
public StoreTypes.ProcessSummary.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.Builder>
public StoreTypes.ProcessSummary.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.Builder>
public StoreTypes.ProcessSummary.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.Builder>
public StoreTypes.ProcessSummary.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.ProcessSummary.Builder>
public StoreTypes.ProcessSummary.Builder mergeFrom(StoreTypes.ProcessSummary other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.Builder>
public StoreTypes.ProcessSummary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<StoreTypes.ProcessSummary.Builder>
java.io.IOException
public boolean hasId()
optional string id = 1;
hasId
in interface StoreTypes.ProcessSummaryOrBuilder
public String getId()
optional string id = 1;
getId
in interface StoreTypes.ProcessSummaryOrBuilder
public com.google.protobuf.ByteString getIdBytes()
optional string id = 1;
getIdBytes
in interface StoreTypes.ProcessSummaryOrBuilder
public StoreTypes.ProcessSummary.Builder setId(String value)
optional string id = 1;
value
- The id to set.public StoreTypes.ProcessSummary.Builder clearId()
optional string id = 1;
public StoreTypes.ProcessSummary.Builder setIdBytes(com.google.protobuf.ByteString value)
optional string id = 1;
value
- The bytes for id to set.public boolean hasHostPort()
optional string host_port = 2;
hasHostPort
in interface StoreTypes.ProcessSummaryOrBuilder
public String getHostPort()
optional string host_port = 2;
getHostPort
in interface StoreTypes.ProcessSummaryOrBuilder
public com.google.protobuf.ByteString getHostPortBytes()
optional string host_port = 2;
getHostPortBytes
in interface StoreTypes.ProcessSummaryOrBuilder
public StoreTypes.ProcessSummary.Builder setHostPort(String value)
optional string host_port = 2;
value
- The hostPort to set.public StoreTypes.ProcessSummary.Builder clearHostPort()
optional string host_port = 2;
public StoreTypes.ProcessSummary.Builder setHostPortBytes(com.google.protobuf.ByteString value)
optional string host_port = 2;
value
- The bytes for hostPort to set.public boolean getIsActive()
bool is_active = 3;
getIsActive
in interface StoreTypes.ProcessSummaryOrBuilder
public StoreTypes.ProcessSummary.Builder setIsActive(boolean value)
bool is_active = 3;
value
- The isActive to set.public StoreTypes.ProcessSummary.Builder clearIsActive()
bool is_active = 3;
public int getTotalCores()
int32 total_cores = 4;
getTotalCores
in interface StoreTypes.ProcessSummaryOrBuilder
public StoreTypes.ProcessSummary.Builder setTotalCores(int value)
int32 total_cores = 4;
value
- The totalCores to set.public StoreTypes.ProcessSummary.Builder clearTotalCores()
int32 total_cores = 4;
public long getAddTime()
int64 add_time = 5;
getAddTime
in interface StoreTypes.ProcessSummaryOrBuilder
public StoreTypes.ProcessSummary.Builder setAddTime(long value)
int64 add_time = 5;
value
- The addTime to set.public StoreTypes.ProcessSummary.Builder clearAddTime()
int64 add_time = 5;
public boolean hasRemoveTime()
optional int64 remove_time = 6;
hasRemoveTime
in interface StoreTypes.ProcessSummaryOrBuilder
public long getRemoveTime()
optional int64 remove_time = 6;
getRemoveTime
in interface StoreTypes.ProcessSummaryOrBuilder
public StoreTypes.ProcessSummary.Builder setRemoveTime(long value)
optional int64 remove_time = 6;
value
- The removeTime to set.public StoreTypes.ProcessSummary.Builder clearRemoveTime()
optional int64 remove_time = 6;
public int getProcessLogsCount()
StoreTypes.ProcessSummaryOrBuilder
map<string, string> process_logs = 7;
getProcessLogsCount
in interface StoreTypes.ProcessSummaryOrBuilder
public boolean containsProcessLogs(String key)
map<string, string> process_logs = 7;
containsProcessLogs
in interface StoreTypes.ProcessSummaryOrBuilder
@Deprecated public java.util.Map<String,String> getProcessLogs()
getProcessLogsMap()
instead.getProcessLogs
in interface StoreTypes.ProcessSummaryOrBuilder
public java.util.Map<String,String> getProcessLogsMap()
map<string, string> process_logs = 7;
getProcessLogsMap
in interface StoreTypes.ProcessSummaryOrBuilder
public String getProcessLogsOrDefault(String key, String defaultValue)
map<string, string> process_logs = 7;
getProcessLogsOrDefault
in interface StoreTypes.ProcessSummaryOrBuilder
public String getProcessLogsOrThrow(String key)
map<string, string> process_logs = 7;
getProcessLogsOrThrow
in interface StoreTypes.ProcessSummaryOrBuilder
public StoreTypes.ProcessSummary.Builder clearProcessLogs()
public StoreTypes.ProcessSummary.Builder removeProcessLogs(String key)
map<string, string> process_logs = 7;
@Deprecated public java.util.Map<String,String> getMutableProcessLogs()
public StoreTypes.ProcessSummary.Builder putProcessLogs(String key, String value)
map<string, string> process_logs = 7;
public StoreTypes.ProcessSummary.Builder putAllProcessLogs(java.util.Map<String,String> values)
map<string, string> process_logs = 7;
public final StoreTypes.ProcessSummary.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.Builder>
public final StoreTypes.ProcessSummary.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ProcessSummary.Builder>