Package org.yamcs.protobuf
Class CreateProcessorRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder> implements CreateProcessorRequestOrBuilder
Protobuf typeyamcs.protobuf.processing.CreateProcessorRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateProcessorRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CreateProcessorRequestbuild()CreateProcessorRequestbuildPartial()CreateProcessorRequest.Builderclear()CreateProcessorRequest.BuilderclearConfig()Configuration options specific to the processor type.CreateProcessorRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CreateProcessorRequest.BuilderclearInstance()**Required.** The name of the Yamcs instance.CreateProcessorRequest.BuilderclearName()**Required.** The name of the processor.CreateProcessorRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CreateProcessorRequest.BuilderclearPersistent()Keep the processor when terminated.CreateProcessorRequest.BuilderclearType()**Required.** The type of the processor.CreateProcessorRequest.Builderclone()StringgetConfig()Configuration options specific to the processor type.com.google.protobuf.ByteStringgetConfigBytes()Configuration options specific to the processor type.CreateProcessorRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetInstance()**Required.** The name of the Yamcs instance.com.google.protobuf.ByteStringgetInstanceBytes()**Required.** The name of the Yamcs instance.StringgetName()**Required.** The name of the processor.com.google.protobuf.ByteStringgetNameBytes()**Required.** The name of the processor.booleangetPersistent()Keep the processor when terminated.StringgetType()**Required.** The type of the processor.com.google.protobuf.ByteStringgetTypeBytes()**Required.** The type of the processor.booleanhasConfig()Configuration options specific to the processor type.booleanhasInstance()**Required.** The name of the Yamcs instance.booleanhasName()**Required.** The name of the processor.booleanhasPersistent()Keep the processor when terminated.booleanhasType()**Required.** The type of the processor.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CreateProcessorRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CreateProcessorRequest.BuildermergeFrom(com.google.protobuf.Message other)CreateProcessorRequest.BuildermergeFrom(CreateProcessorRequest other)CreateProcessorRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CreateProcessorRequest.BuildersetConfig(String value)Configuration options specific to the processor type.CreateProcessorRequest.BuildersetConfigBytes(com.google.protobuf.ByteString value)Configuration options specific to the processor type.CreateProcessorRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CreateProcessorRequest.BuildersetInstance(String value)**Required.** The name of the Yamcs instance.CreateProcessorRequest.BuildersetInstanceBytes(com.google.protobuf.ByteString value)**Required.** The name of the Yamcs instance.CreateProcessorRequest.BuildersetName(String value)**Required.** The name of the processor.CreateProcessorRequest.BuildersetNameBytes(com.google.protobuf.ByteString value)**Required.** The name of the processor.CreateProcessorRequest.BuildersetPersistent(boolean value)Keep the processor when terminated.CreateProcessorRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CreateProcessorRequest.BuildersetType(String value)**Required.** The type of the processor.CreateProcessorRequest.BuildersetTypeBytes(com.google.protobuf.ByteString value)**Required.** The type of the processor.CreateProcessorRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
clear
public CreateProcessorRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
getDefaultInstanceForType
public CreateProcessorRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CreateProcessorRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CreateProcessorRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CreateProcessorRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
setField
public CreateProcessorRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
clearField
public CreateProcessorRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
clearOneof
public CreateProcessorRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
setRepeatedField
public CreateProcessorRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
addRepeatedField
public CreateProcessorRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
mergeFrom
public CreateProcessorRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateProcessorRequest.Builder>
-
mergeFrom
public CreateProcessorRequest.Builder mergeFrom(CreateProcessorRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public CreateProcessorRequest.Builder setInstance(String value)
**Required.** The name of the Yamcs instance.
optional string instance = 1;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
public CreateProcessorRequest.Builder clearInstance()
**Required.** The name of the Yamcs instance.
optional string instance = 1;- Returns:
- This builder for chaining.
-
setInstanceBytes
public CreateProcessorRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
**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
public String 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
public CreateProcessorRequest.Builder setName(String value)
**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
public CreateProcessorRequest.Builder clearName()
**Required.** The name of the processor. Must be unique for the Yamcs instance.
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
public CreateProcessorRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
**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: ``no``.
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: ``no``.
optional bool persistent = 4;- Specified by:
getPersistentin interfaceCreateProcessorRequestOrBuilder- Returns:
- The persistent.
-
setPersistent
public CreateProcessorRequest.Builder setPersistent(boolean value)
Keep the processor when terminated. Default: ``no``.
optional bool persistent = 4;- Parameters:
value- The persistent to set.- Returns:
- This builder for chaining.
-
clearPersistent
public CreateProcessorRequest.Builder clearPersistent()
Keep the processor when terminated. Default: ``no``.
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
public String 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
public CreateProcessorRequest.Builder setType(String value)
**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
public CreateProcessorRequest.Builder 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
public CreateProcessorRequest.Builder setTypeBytes(com.google.protobuf.ByteString value)
**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
public String 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
public CreateProcessorRequest.Builder setConfig(String value)
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
public CreateProcessorRequest.Builder 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
public CreateProcessorRequest.Builder setConfigBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final CreateProcessorRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
mergeUnknownFields
public final CreateProcessorRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
-