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
Request message for `CreateProcessor`.Protobuf type
yamcs.protobuf.processing.CreateProcessorRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Configuration options specific to the processor type.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) **Required.** The name of the Yamcs instance.**Required.** The name of the processor.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Keep the processor when terminated.**Required.** The type of the processor.clone()
Configuration options specific to the processor type.com.google.protobuf.ByteString
Configuration options specific to the processor type.static final com.google.protobuf.Descriptors.Descriptor
com.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.boolean
Keep the processor when terminated.getType()
**Required.** The type of the processor.com.google.protobuf.ByteString
**Required.** The type of the processor.boolean
Configuration options specific to the processor type.boolean
**Required.** The name of the Yamcs instance.boolean
hasName()
**Required.** The name of the processor.boolean
Keep the processor when terminated.boolean
hasType()
**Required.** The type of the processor.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(CreateProcessorRequest other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) 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.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) **Required.** The type of the processor.setTypeBytes
(com.google.protobuf.ByteString value) **Required.** The type of the processor.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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
Methods inherited from class java.lang.Object
equals, finalize, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
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<CreateProcessorRequest.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<CreateProcessorRequest.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<CreateProcessorRequest.Builder>
-
setField
public CreateProcessorRequest.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<CreateProcessorRequest.Builder>
-
clearField
public CreateProcessorRequest.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<CreateProcessorRequest.Builder>
-
clearOneof
public CreateProcessorRequest.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<CreateProcessorRequest.Builder>
-
setRepeatedField
public CreateProcessorRequest.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<CreateProcessorRequest.Builder>
-
addRepeatedField
public CreateProcessorRequest.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<CreateProcessorRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CreateProcessorRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasInstance
in interfaceCreateProcessorRequestOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
**Required.** The name of the Yamcs instance.
optional string instance = 1;
- Specified by:
getInstance
in interfaceCreateProcessorRequestOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()**Required.** The name of the Yamcs instance.
optional string instance = 1;
- Specified by:
getInstanceBytes
in 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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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: ``no``.
optional bool persistent = 4;
- Specified by:
hasPersistent
in 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:
getPersistent
in interfaceCreateProcessorRequestOrBuilder
- Returns:
- The persistent.
-
setPersistent
Keep the processor when terminated. Default: ``no``.
optional bool persistent = 4;
- Parameters:
value
- The persistent to set.- Returns:
- This builder for chaining.
-
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:
hasType
in 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:
getType
in 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:
getTypeBytes
in 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:
hasConfig
in 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:
getConfig
in 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:
getConfigBytes
in 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.
-
setUnknownFields
public final CreateProcessorRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
mergeUnknownFields
public final CreateProcessorRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-