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.Builder
addAllClientId(Iterable<? extends Integer> values)
The client IDs that should be connected to this processor.CreateProcessorRequest.Builder
addClientId(int value)
The client IDs that should be connected to this processor.CreateProcessorRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CreateProcessorRequest
build()
CreateProcessorRequest
buildPartial()
CreateProcessorRequest.Builder
clear()
CreateProcessorRequest.Builder
clearClientId()
The client IDs that should be connected to this processor.CreateProcessorRequest.Builder
clearConfig()
Configuration options specific to the processor type.CreateProcessorRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CreateProcessorRequest.Builder
clearInstance()
**Required.** The name of the Yamcs instance.CreateProcessorRequest.Builder
clearName()
**Required.** The name of the processor.CreateProcessorRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CreateProcessorRequest.Builder
clearPersistent()
Keep the processor when terminated.CreateProcessorRequest.Builder
clearType()
**Required.** The type of the processor.CreateProcessorRequest.Builder
clone()
int
getClientId(int index)
The client IDs that should be connected to this processor.int
getClientIdCount()
The client IDs that should be connected to this processor.List<Integer>
getClientIdList()
The client IDs that should be connected to this processor.String
getConfig()
Configuration options specific to the processor type.com.google.protobuf.ByteString
getConfigBytes()
Configuration options specific to the processor type.CreateProcessorRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getInstance()
**Required.** The name of the Yamcs instance.com.google.protobuf.ByteString
getInstanceBytes()
**Required.** The name of the Yamcs instance.String
getName()
**Required.** The name of the processor.com.google.protobuf.ByteString
getNameBytes()
**Required.** The name of the processor.boolean
getPersistent()
Keep the processor when terminated.String
getType()
**Required.** The type of the processor.com.google.protobuf.ByteString
getTypeBytes()
**Required.** The type of the processor.boolean
hasConfig()
Configuration options specific to the processor type.boolean
hasInstance()
**Required.** The name of the Yamcs instance.boolean
hasName()
**Required.** The name of the processor.boolean
hasPersistent()
Keep the processor when terminated.boolean
hasType()
**Required.** The type of the processor.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CreateProcessorRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CreateProcessorRequest.Builder
mergeFrom(com.google.protobuf.Message other)
CreateProcessorRequest.Builder
mergeFrom(CreateProcessorRequest other)
CreateProcessorRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CreateProcessorRequest.Builder
setClientId(int index, int value)
The client IDs that should be connected to this processor.CreateProcessorRequest.Builder
setConfig(String value)
Configuration options specific to the processor type.CreateProcessorRequest.Builder
setConfigBytes(com.google.protobuf.ByteString value)
Configuration options specific to the processor type.CreateProcessorRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CreateProcessorRequest.Builder
setInstance(String value)
**Required.** The name of the Yamcs instance.CreateProcessorRequest.Builder
setInstanceBytes(com.google.protobuf.ByteString value)
**Required.** The name of the Yamcs instance.CreateProcessorRequest.Builder
setName(String value)
**Required.** The name of the processor.CreateProcessorRequest.Builder
setNameBytes(com.google.protobuf.ByteString value)
**Required.** The name of the processor.CreateProcessorRequest.Builder
setPersistent(boolean value)
Keep the processor when terminated.CreateProcessorRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
CreateProcessorRequest.Builder
setType(String value)
**Required.** The type of the processor.CreateProcessorRequest.Builder
setTypeBytes(com.google.protobuf.ByteString value)
**Required.** The type of the processor.CreateProcessorRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateProcessorRequest.Builder>
-
clear
public 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
public CreateProcessorRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CreateProcessorRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CreateProcessorRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CreateProcessorRequest.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
public CreateProcessorRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CreateProcessorRequest.Builder>
-
mergeFrom
public CreateProcessorRequest.Builder mergeFrom(CreateProcessorRequest other)
-
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
-
getInstance
public String getInstance()
**Required.** The name of the Yamcs instance.
optional string instance = 1;
- Specified by:
getInstance
in interfaceCreateProcessorRequestOrBuilder
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
**Required.** The name of the Yamcs instance.
optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceCreateProcessorRequestOrBuilder
-
setInstance
public CreateProcessorRequest.Builder setInstance(String value)
**Required.** The name of the Yamcs instance.
optional string instance = 1;
-
clearInstance
public CreateProcessorRequest.Builder clearInstance()
**Required.** The name of the Yamcs instance.
optional string instance = 1;
-
setInstanceBytes
public CreateProcessorRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
**Required.** The name of the Yamcs instance.
optional string instance = 1;
-
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
-
getName
public String getName()
**Required.** The name of the processor. Must be unique for the Yamcs instance.
optional string name = 2;
- Specified by:
getName
in interfaceCreateProcessorRequestOrBuilder
-
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
-
setName
public CreateProcessorRequest.Builder setName(String value)
**Required.** The name of the processor. Must be unique for the Yamcs instance.
optional string name = 2;
-
clearName
public CreateProcessorRequest.Builder clearName()
**Required.** The name of the processor. Must be unique for the Yamcs instance.
optional string name = 2;
-
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;
-
getClientIdList
public List<Integer> getClientIdList()
The client IDs that should be connected to this processor.
repeated int32 clientId = 3;
- Specified by:
getClientIdList
in interfaceCreateProcessorRequestOrBuilder
-
getClientIdCount
public int getClientIdCount()
The client IDs that should be connected to this processor.
repeated int32 clientId = 3;
- Specified by:
getClientIdCount
in interfaceCreateProcessorRequestOrBuilder
-
getClientId
public int getClientId(int index)
The client IDs that should be connected to this processor.
repeated int32 clientId = 3;
- Specified by:
getClientId
in interfaceCreateProcessorRequestOrBuilder
-
setClientId
public CreateProcessorRequest.Builder setClientId(int index, int value)
The client IDs that should be connected to this processor.
repeated int32 clientId = 3;
-
addClientId
public CreateProcessorRequest.Builder addClientId(int value)
The client IDs that should be connected to this processor.
repeated int32 clientId = 3;
-
addAllClientId
public CreateProcessorRequest.Builder addAllClientId(Iterable<? extends Integer> values)
The client IDs that should be connected to this processor.
repeated int32 clientId = 3;
-
clearClientId
public CreateProcessorRequest.Builder clearClientId()
The client IDs that should be connected to this processor.
repeated int32 clientId = 3;
-
hasPersistent
public boolean hasPersistent()
Keep the processor when terminated. Default: ``no``.
optional bool persistent = 4;
- Specified by:
hasPersistent
in interfaceCreateProcessorRequestOrBuilder
-
getPersistent
public boolean getPersistent()
Keep the processor when terminated. Default: ``no``.
optional bool persistent = 4;
- Specified by:
getPersistent
in interfaceCreateProcessorRequestOrBuilder
-
setPersistent
public CreateProcessorRequest.Builder setPersistent(boolean value)
Keep the processor when terminated. Default: ``no``.
optional bool persistent = 4;
-
clearPersistent
public CreateProcessorRequest.Builder clearPersistent()
Keep the processor when terminated. Default: ``no``.
optional bool persistent = 4;
-
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
-
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:
getType
in interfaceCreateProcessorRequestOrBuilder
-
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
-
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;
-
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;
-
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;
-
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
-
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:
getConfig
in interfaceCreateProcessorRequestOrBuilder
-
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
-
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;
-
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;
-
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;
-
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>
-
-