Package org.apache.spark.status.protobuf
Class StoreTypes.StreamingQueryData.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<StoreTypes.StreamingQueryData.Builder>
implements StoreTypes.StreamingQueryDataOrBuilder
Protobuf type
org.apache.spark.status.protobuf.StreamingQueryData-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()optional int64 end_timestamp = 7;optional string exception = 5;clearId()optional string id = 2;bool is_active = 4;optional string name = 1;optional string run_id = 3;int64 start_timestamp = 6;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongoptional int64 end_timestamp = 7;optional string exception = 5;com.google.protobuf.ByteStringoptional string exception = 5;getId()optional string id = 2;com.google.protobuf.ByteStringoptional string id = 2;booleanbool is_active = 4;getName()optional string name = 1;com.google.protobuf.ByteStringoptional string name = 1;getRunId()optional string run_id = 3;com.google.protobuf.ByteStringoptional string run_id = 3;longint64 start_timestamp = 6;booleanoptional int64 end_timestamp = 7;booleanoptional string exception = 5;booleanhasId()optional string id = 2;booleanhasName()optional string name = 1;booleanhasRunId()optional string run_id = 3;final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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;optional string run_id = 3;setRunIdBytes(com.google.protobuf.ByteString value) optional string run_id = 3;setStartTimestamp(long value) int64 start_timestamp = 6;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.StreamingQueryData.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.StreamingQueryData.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.StreamingQueryData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.StreamingQueryData.Builder>
-
mergeFrom
public StoreTypes.StreamingQueryData.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.StreamingQueryData.Builder>- Throws:
IOException
-
hasName
public boolean hasName()optional string name = 1;- Specified by:
hasNamein interfaceStoreTypes.StreamingQueryDataOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 1;- Specified by:
getNamein interfaceStoreTypes.StreamingQueryDataOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 1;- Specified by:
getNameBytesin 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:
hasIdin interfaceStoreTypes.StreamingQueryDataOrBuilder- Returns:
- Whether the id field is set.
-
getId
optional string id = 2;- Specified by:
getIdin interfaceStoreTypes.StreamingQueryDataOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()optional string id = 2;- Specified by:
getIdBytesin 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:
hasRunIdin interfaceStoreTypes.StreamingQueryDataOrBuilder- Returns:
- Whether the runId field is set.
-
getRunId
optional string run_id = 3;- Specified by:
getRunIdin interfaceStoreTypes.StreamingQueryDataOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()optional string run_id = 3;- Specified by:
getRunIdBytesin 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:
getIsActivein 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:
hasExceptionin interfaceStoreTypes.StreamingQueryDataOrBuilder- Returns:
- Whether the exception field is set.
-
getException
optional string exception = 5;- Specified by:
getExceptionin interfaceStoreTypes.StreamingQueryDataOrBuilder- Returns:
- The exception.
-
getExceptionBytes
public com.google.protobuf.ByteString getExceptionBytes()optional string exception = 5;- Specified by:
getExceptionBytesin 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:
getStartTimestampin 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:
hasEndTimestampin interfaceStoreTypes.StreamingQueryDataOrBuilder- Returns:
- Whether the endTimestamp field is set.
-
getEndTimestamp
public long getEndTimestamp()optional int64 end_timestamp = 7;- Specified by:
getEndTimestampin 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.
-