Package org.apache.spark.status.protobuf
Class StoreTypes.StreamingQueryData.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamingQueryData.Builder>
org.apache.spark.status.protobuf.StoreTypes.StreamingQueryData.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.StreamingQueryDataOrBuilder
- Enclosing class:
- StoreTypes.StreamingQueryData
public static final class StoreTypes.StreamingQueryData.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamingQueryData.Builder>
implements StoreTypes.StreamingQueryDataOrBuilder
Protobuf type
org.apache.spark.status.protobuf.StreamingQueryData
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional int64 end_timestamp = 7;
optional string exception = 5;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
optional string id = 2;
bool is_active = 4;
optional string name = 1;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string run_id = 3;
int64 start_timestamp = 6;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
optional int64 end_timestamp = 7;
optional string exception = 5;
com.google.protobuf.ByteString
optional string exception = 5;
getId()
optional string id = 2;
com.google.protobuf.ByteString
optional string id = 2;
boolean
bool is_active = 4;
getName()
optional string name = 1;
com.google.protobuf.ByteString
optional string name = 1;
getRunId()
optional string run_id = 3;
com.google.protobuf.ByteString
optional string run_id = 3;
long
int64 start_timestamp = 6;
boolean
optional int64 end_timestamp = 7;
boolean
optional string exception = 5;
boolean
hasId()
optional string id = 2;
boolean
hasName()
optional string name = 1;
boolean
hasRunId()
optional string run_id = 3;
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) setEndTimestamp
(long value) optional int64 end_timestamp = 7;
setException
(String value) optional string exception = 5;
setExceptionBytes
(com.google.protobuf.ByteString value) optional string exception = 5;
optional string id = 2;
setIdBytes
(com.google.protobuf.ByteString value) optional string id = 2;
setIsActive
(boolean value) bool is_active = 4;
optional string name = 1;
setNameBytes
(com.google.protobuf.ByteString value) optional string name = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) optional string run_id = 3;
setRunIdBytes
(com.google.protobuf.ByteString value) optional string run_id = 3;
setStartTimestamp
(long value) int64 start_timestamp = 6;
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.StreamingQueryData.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.StreamingQueryData.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.StreamingQueryData.Builder>
-
setField
public StoreTypes.StreamingQueryData.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.StreamingQueryData.Builder>
-
clearField
public StoreTypes.StreamingQueryData.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.StreamingQueryData.Builder>
-
clearOneof
public StoreTypes.StreamingQueryData.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.StreamingQueryData.Builder>
-
setRepeatedField
public StoreTypes.StreamingQueryData.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.StreamingQueryData.Builder>
-
addRepeatedField
public StoreTypes.StreamingQueryData.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.StreamingQueryData.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.StreamingQueryData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamingQueryData.Builder>
-
mergeFrom
public StoreTypes.StreamingQueryData.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.StreamingQueryData.Builder>
- Throws:
IOException
-
hasName
public boolean hasName()optional string name = 1;
- Specified by:
hasName
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- Whether the name field is set.
-
getName
optional string name = 1;
- Specified by:
getName
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 1;
- Specified by:
getNameBytes
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- The bytes for name.
-
setName
optional string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
optional string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
optional string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()optional string id = 2;
- Specified by:
hasId
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- Whether the id field is set.
-
getId
optional string id = 2;
- Specified by:
getId
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()optional string id = 2;
- Specified by:
getIdBytes
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- The bytes for id.
-
setId
optional string id = 2;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
optional string id = 2;
- Returns:
- This builder for chaining.
-
setIdBytes
optional string id = 2;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasRunId
public boolean hasRunId()optional string run_id = 3;
- Specified by:
hasRunId
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- Whether the runId field is set.
-
getRunId
optional string run_id = 3;
- Specified by:
getRunId
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()optional string run_id = 3;
- Specified by:
getRunIdBytes
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- The bytes for runId.
-
setRunId
optional string run_id = 3;
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
optional string run_id = 3;
- Returns:
- This builder for chaining.
-
setRunIdBytes
optional string run_id = 3;
- Parameters:
value
- The bytes for runId to set.- Returns:
- This builder for chaining.
-
getIsActive
public boolean getIsActive()bool is_active = 4;
- Specified by:
getIsActive
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- The isActive.
-
setIsActive
bool is_active = 4;
- Parameters:
value
- The isActive to set.- Returns:
- This builder for chaining.
-
clearIsActive
bool is_active = 4;
- Returns:
- This builder for chaining.
-
hasException
public boolean hasException()optional string exception = 5;
- Specified by:
hasException
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- Whether the exception field is set.
-
getException
optional string exception = 5;
- Specified by:
getException
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- The exception.
-
getExceptionBytes
public com.google.protobuf.ByteString getExceptionBytes()optional string exception = 5;
- Specified by:
getExceptionBytes
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- The bytes for exception.
-
setException
optional string exception = 5;
- Parameters:
value
- The exception to set.- Returns:
- This builder for chaining.
-
clearException
optional string exception = 5;
- Returns:
- This builder for chaining.
-
setExceptionBytes
public StoreTypes.StreamingQueryData.Builder setExceptionBytes(com.google.protobuf.ByteString value) optional string exception = 5;
- Parameters:
value
- The bytes for exception to set.- Returns:
- This builder for chaining.
-
getStartTimestamp
public long getStartTimestamp()int64 start_timestamp = 6;
- Specified by:
getStartTimestamp
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- The startTimestamp.
-
setStartTimestamp
int64 start_timestamp = 6;
- Parameters:
value
- The startTimestamp to set.- Returns:
- This builder for chaining.
-
clearStartTimestamp
int64 start_timestamp = 6;
- Returns:
- This builder for chaining.
-
hasEndTimestamp
public boolean hasEndTimestamp()optional int64 end_timestamp = 7;
- Specified by:
hasEndTimestamp
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- Whether the endTimestamp field is set.
-
getEndTimestamp
public long getEndTimestamp()optional int64 end_timestamp = 7;
- Specified by:
getEndTimestamp
in interfaceStoreTypes.StreamingQueryDataOrBuilder
- Returns:
- The endTimestamp.
-
setEndTimestamp
optional int64 end_timestamp = 7;
- Parameters:
value
- The endTimestamp to set.- Returns:
- This builder for chaining.
-
clearEndTimestamp
optional int64 end_timestamp = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StoreTypes.StreamingQueryData.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.StreamingQueryData.Builder>
-
mergeUnknownFields
public final StoreTypes.StreamingQueryData.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.StreamingQueryData.Builder>
-