Package org.apache.spark.status.protobuf
Class StoreTypes.ApplicationAttemptInfo.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
org.apache.spark.status.protobuf.StoreTypes.ApplicationAttemptInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.ApplicationAttemptInfoOrBuilder
- Enclosing class:
- StoreTypes.ApplicationAttemptInfo
public static final class StoreTypes.ApplicationAttemptInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
implements StoreTypes.ApplicationAttemptInfoOrBuilder
Protobuf type
org.apache.spark.status.protobuf.ApplicationAttemptInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string app_spark_version = 8;
optional string attempt_id = 1;
bool completed = 7;
int64 duration = 5;
int64 end_time = 3;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) int64 last_updated = 4;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string spark_user = 6;
int64 start_time = 2;
clone()
optional string app_spark_version = 8;
com.google.protobuf.ByteString
optional string app_spark_version = 8;
optional string attempt_id = 1;
com.google.protobuf.ByteString
optional string attempt_id = 1;
boolean
bool completed = 7;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
int64 duration = 5;
long
int64 end_time = 3;
long
int64 last_updated = 4;
optional string spark_user = 6;
com.google.protobuf.ByteString
optional string spark_user = 6;
long
int64 start_time = 2;
boolean
optional string app_spark_version = 8;
boolean
optional string attempt_id = 1;
boolean
optional string spark_user = 6;
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setAppSparkVersion
(String value) optional string app_spark_version = 8;
setAppSparkVersionBytes
(com.google.protobuf.ByteString value) optional string app_spark_version = 8;
setAttemptId
(String value) optional string attempt_id = 1;
setAttemptIdBytes
(com.google.protobuf.ByteString value) optional string attempt_id = 1;
setCompleted
(boolean value) bool completed = 7;
setDuration
(long value) int64 duration = 5;
setEndTime
(long value) int64 end_time = 3;
setLastUpdated
(long value) int64 last_updated = 4;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSparkUser
(String value) optional string spark_user = 6;
setSparkUserBytes
(com.google.protobuf.ByteString value) optional string spark_user = 6;
setStartTime
(long value) int64 start_time = 2;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeFrom
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-
setField
public StoreTypes.ApplicationAttemptInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-
clearField
public StoreTypes.ApplicationAttemptInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-
clearOneof
public StoreTypes.ApplicationAttemptInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-
setRepeatedField
public StoreTypes.ApplicationAttemptInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-
addRepeatedField
public StoreTypes.ApplicationAttemptInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-
mergeFrom
public StoreTypes.ApplicationAttemptInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
- Throws:
IOException
-
hasAttemptId
public boolean hasAttemptId()optional string attempt_id = 1;
- Specified by:
hasAttemptId
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- Whether the attemptId field is set.
-
getAttemptId
optional string attempt_id = 1;
- Specified by:
getAttemptId
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- The attemptId.
-
getAttemptIdBytes
public com.google.protobuf.ByteString getAttemptIdBytes()optional string attempt_id = 1;
- Specified by:
getAttemptIdBytes
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- The bytes for attemptId.
-
setAttemptId
optional string attempt_id = 1;
- Parameters:
value
- The attemptId to set.- Returns:
- This builder for chaining.
-
clearAttemptId
optional string attempt_id = 1;
- Returns:
- This builder for chaining.
-
setAttemptIdBytes
public StoreTypes.ApplicationAttemptInfo.Builder setAttemptIdBytes(com.google.protobuf.ByteString value) optional string attempt_id = 1;
- Parameters:
value
- The bytes for attemptId to set.- Returns:
- This builder for chaining.
-
getStartTime
public long getStartTime()int64 start_time = 2;
- Specified by:
getStartTime
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- The startTime.
-
setStartTime
int64 start_time = 2;
- Parameters:
value
- The startTime to set.- Returns:
- This builder for chaining.
-
clearStartTime
int64 start_time = 2;
- Returns:
- This builder for chaining.
-
getEndTime
public long getEndTime()int64 end_time = 3;
- Specified by:
getEndTime
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- The endTime.
-
setEndTime
int64 end_time = 3;
- Parameters:
value
- The endTime to set.- Returns:
- This builder for chaining.
-
clearEndTime
int64 end_time = 3;
- Returns:
- This builder for chaining.
-
getLastUpdated
public long getLastUpdated()int64 last_updated = 4;
- Specified by:
getLastUpdated
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- The lastUpdated.
-
setLastUpdated
int64 last_updated = 4;
- Parameters:
value
- The lastUpdated to set.- Returns:
- This builder for chaining.
-
clearLastUpdated
int64 last_updated = 4;
- Returns:
- This builder for chaining.
-
getDuration
public long getDuration()int64 duration = 5;
- Specified by:
getDuration
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- The duration.
-
setDuration
int64 duration = 5;
- Parameters:
value
- The duration to set.- Returns:
- This builder for chaining.
-
clearDuration
int64 duration = 5;
- Returns:
- This builder for chaining.
-
hasSparkUser
public boolean hasSparkUser()optional string spark_user = 6;
- Specified by:
hasSparkUser
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- Whether the sparkUser field is set.
-
getSparkUser
optional string spark_user = 6;
- Specified by:
getSparkUser
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- The sparkUser.
-
getSparkUserBytes
public com.google.protobuf.ByteString getSparkUserBytes()optional string spark_user = 6;
- Specified by:
getSparkUserBytes
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- The bytes for sparkUser.
-
setSparkUser
optional string spark_user = 6;
- Parameters:
value
- The sparkUser to set.- Returns:
- This builder for chaining.
-
clearSparkUser
optional string spark_user = 6;
- Returns:
- This builder for chaining.
-
setSparkUserBytes
public StoreTypes.ApplicationAttemptInfo.Builder setSparkUserBytes(com.google.protobuf.ByteString value) optional string spark_user = 6;
- Parameters:
value
- The bytes for sparkUser to set.- Returns:
- This builder for chaining.
-
getCompleted
public boolean getCompleted()bool completed = 7;
- Specified by:
getCompleted
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- The completed.
-
setCompleted
bool completed = 7;
- Parameters:
value
- The completed to set.- Returns:
- This builder for chaining.
-
clearCompleted
bool completed = 7;
- Returns:
- This builder for chaining.
-
hasAppSparkVersion
public boolean hasAppSparkVersion()optional string app_spark_version = 8;
- Specified by:
hasAppSparkVersion
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- Whether the appSparkVersion field is set.
-
getAppSparkVersion
optional string app_spark_version = 8;
- Specified by:
getAppSparkVersion
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- The appSparkVersion.
-
getAppSparkVersionBytes
public com.google.protobuf.ByteString getAppSparkVersionBytes()optional string app_spark_version = 8;
- Specified by:
getAppSparkVersionBytes
in interfaceStoreTypes.ApplicationAttemptInfoOrBuilder
- Returns:
- The bytes for appSparkVersion.
-
setAppSparkVersion
optional string app_spark_version = 8;
- Parameters:
value
- The appSparkVersion to set.- Returns:
- This builder for chaining.
-
clearAppSparkVersion
optional string app_spark_version = 8;
- Returns:
- This builder for chaining.
-
setAppSparkVersionBytes
public StoreTypes.ApplicationAttemptInfo.Builder setAppSparkVersionBytes(com.google.protobuf.ByteString value) optional string app_spark_version = 8;
- Parameters:
value
- The bytes for appSparkVersion to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final StoreTypes.ApplicationAttemptInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-
mergeUnknownFields
public final StoreTypes.ApplicationAttemptInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationAttemptInfo.Builder>
-