java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CreateProcessorRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<CreateProcessorRequest.Builder>
org.yamcs.protobuf.CreateProcessorRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,CreateProcessorRequestOrBuilder
- Enclosing class:
CreateProcessorRequest
public static final class CreateProcessorRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CreateProcessorRequest.Builder>
implements CreateProcessorRequestOrBuilder
Request message for `CreateProcessor`.Protobuf type
yamcs.protobuf.processing.CreateProcessorRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Configuration options specific to the processor type.**Required.** The name of the Yamcs instance.**Required.** The name of the processor.Keep the processor when terminated.**Required.** The type of the processor.Configuration options specific to the processor type.com.google.protobuf.ByteStringConfiguration options specific to the processor type.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor**Required.** The name of the Yamcs instance.com.google.protobuf.ByteString**Required.** The name of the Yamcs instance.getName()**Required.** The name of the processor.com.google.protobuf.ByteString**Required.** The name of the processor.booleanKeep the processor when terminated.getType()**Required.** The type of the processor.com.google.protobuf.ByteString**Required.** The type of the processor.booleanConfiguration options specific to the processor type.boolean**Required.** The name of the Yamcs instance.booleanhasName()**Required.** The name of the processor.booleanKeep the processor when terminated.booleanhasType()**Required.** The type of the processor.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CreateProcessorRequest other) Configuration options specific to the processor type.setConfigBytes(com.google.protobuf.ByteString value) Configuration options specific to the processor type.setInstance(String value) **Required.** The name of the Yamcs instance.setInstanceBytes(com.google.protobuf.ByteString value) **Required.** The name of the Yamcs instance.**Required.** The name of the processor.setNameBytes(com.google.protobuf.ByteString value) **Required.** The name of the processor.setPersistent(boolean value) Keep the processor when terminated.**Required.** The type of the processor.setTypeBytes(com.google.protobuf.ByteString value) **Required.** The type of the processor.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CreateProcessorRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CreateProcessorRequest.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<CreateProcessorRequest.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<CreateProcessorRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CreateProcessorRequest.Builder>
-
mergeFrom
public CreateProcessorRequest.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<CreateProcessorRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()**Required.** The name of the Yamcs instance.
optional string instance = 1;- Specified by:
hasInstancein interfaceCreateProcessorRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
**Required.** The name of the Yamcs instance.
optional string instance = 1;- Specified by:
getInstancein interfaceCreateProcessorRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()**Required.** The name of the Yamcs instance.
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceCreateProcessorRequestOrBuilder- Returns:
- The bytes for instance.
-
setInstance
**Required.** The name of the Yamcs instance.
optional string instance = 1;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
**Required.** The name of the Yamcs instance.
optional string instance = 1;- Returns:
- This builder for chaining.
-
setInstanceBytes
**Required.** The name of the Yamcs instance.
optional string instance = 1;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()**Required.** The name of the processor. Must be unique for the Yamcs instance.
optional string name = 2;- Specified by:
hasNamein interfaceCreateProcessorRequestOrBuilder- Returns:
- Whether the name field is set.
-
getName
**Required.** The name of the processor. Must be unique for the Yamcs instance.
optional string name = 2;- Specified by:
getNamein interfaceCreateProcessorRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()**Required.** The name of the processor. Must be unique for the Yamcs instance.
optional string name = 2;- Specified by:
getNameBytesin interfaceCreateProcessorRequestOrBuilder- Returns:
- The bytes for name.
-
setName
**Required.** The name of the processor. Must be unique for the Yamcs instance.
optional string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
**Required.** The name of the processor. Must be unique for the Yamcs instance.
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
**Required.** The name of the processor. Must be unique for the Yamcs instance.
optional string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasPersistent
public boolean hasPersistent()Keep the processor when terminated. Default: `false`.
optional bool persistent = 4;- Specified by:
hasPersistentin interfaceCreateProcessorRequestOrBuilder- Returns:
- Whether the persistent field is set.
-
getPersistent
public boolean getPersistent()Keep the processor when terminated. Default: `false`.
optional bool persistent = 4;- Specified by:
getPersistentin interfaceCreateProcessorRequestOrBuilder- Returns:
- The persistent.
-
setPersistent
Keep the processor when terminated. Default: `false`.
optional bool persistent = 4;- Parameters:
value- The persistent to set.- Returns:
- This builder for chaining.
-
clearPersistent
Keep the processor when terminated. Default: `false`.
optional bool persistent = 4;- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()**Required.** The type of the processor. The available values depend on how Yamcs Server is configured. Most Yamcs deployments support at least a type `Archive` which allows for the creation of processors replaying archived data.
optional string type = 5;- Specified by:
hasTypein interfaceCreateProcessorRequestOrBuilder- Returns:
- Whether the type field is set.
-
getType
**Required.** The type of the processor. The available values depend on how Yamcs Server is configured. Most Yamcs deployments support at least a type `Archive` which allows for the creation of processors replaying archived data.
optional string type = 5;- Specified by:
getTypein interfaceCreateProcessorRequestOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()**Required.** The type of the processor. The available values depend on how Yamcs Server is configured. Most Yamcs deployments support at least a type `Archive` which allows for the creation of processors replaying archived data.
optional string type = 5;- Specified by:
getTypeBytesin interfaceCreateProcessorRequestOrBuilder- Returns:
- The bytes for type.
-
setType
**Required.** The type of the processor. The available values depend on how Yamcs Server is configured. Most Yamcs deployments support at least a type `Archive` which allows for the creation of processors replaying archived data.
optional string type = 5;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
**Required.** The type of the processor. The available values depend on how Yamcs Server is configured. Most Yamcs deployments support at least a type `Archive` which allows for the creation of processors replaying archived data.
optional string type = 5;- Returns:
- This builder for chaining.
-
setTypeBytes
**Required.** The type of the processor. The available values depend on how Yamcs Server is configured. Most Yamcs deployments support at least a type `Archive` which allows for the creation of processors replaying archived data.
optional string type = 5;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasConfig
public boolean hasConfig()Configuration options specific to the processor type. Note that this should be a string representation of a valid JSON structure.
optional string config = 6;- Specified by:
hasConfigin interfaceCreateProcessorRequestOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
Configuration options specific to the processor type. Note that this should be a string representation of a valid JSON structure.
optional string config = 6;- Specified by:
getConfigin interfaceCreateProcessorRequestOrBuilder- Returns:
- The config.
-
getConfigBytes
public com.google.protobuf.ByteString getConfigBytes()Configuration options specific to the processor type. Note that this should be a string representation of a valid JSON structure.
optional string config = 6;- Specified by:
getConfigBytesin interfaceCreateProcessorRequestOrBuilder- Returns:
- The bytes for config.
-
setConfig
Configuration options specific to the processor type. Note that this should be a string representation of a valid JSON structure.
optional string config = 6;- Parameters:
value- The config to set.- Returns:
- This builder for chaining.
-
clearConfig
Configuration options specific to the processor type. Note that this should be a string representation of a valid JSON structure.
optional string config = 6;- Returns:
- This builder for chaining.
-
setConfigBytes
Configuration options specific to the processor type. Note that this should be a string representation of a valid JSON structure.
optional string config = 6;- Parameters:
value- The bytes for config to set.- Returns:
- This builder for chaining.
-