java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SaveViewRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<SaveViewRequest.Builder>
org.yamcs.protobuf.SaveViewRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,SaveViewRequestOrBuilder
- Enclosing class:
SaveViewRequest
public static final class SaveViewRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SaveViewRequest.Builder>
implements SaveViewRequestOrBuilder
Protobuf type
yamcs.protobuf.timeline.SaveViewRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllBands(Iterable<String> values) The bands belonging to this viewThe bands belonging to this viewaddBandsBytes(com.google.protobuf.ByteString value) The bands belonging to this viewbuild()clear()The bands belonging to this viewView descriptionclearId()Optional view identifier.Yamcs instance nameView namegetBands(int index) The bands belonging to this viewcom.google.protobuf.ByteStringgetBandsBytes(int index) The bands belonging to this viewintThe bands belonging to this viewcom.google.protobuf.ProtocolStringListThe bands belonging to this viewView descriptioncom.google.protobuf.ByteStringView descriptionstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()Optional view identifier.com.google.protobuf.ByteStringOptional view identifier.Yamcs instance namecom.google.protobuf.ByteStringYamcs instance namegetName()View namecom.google.protobuf.ByteStringView namebooleanView descriptionbooleanhasId()Optional view identifier.booleanYamcs instance namebooleanhasName()View nameprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SaveViewRequest other) The bands belonging to this viewsetDescription(String value) View descriptionsetDescriptionBytes(com.google.protobuf.ByteString value) View descriptionOptional view identifier.setIdBytes(com.google.protobuf.ByteString value) Optional view identifier.setInstance(String value) Yamcs instance namesetInstanceBytes(com.google.protobuf.ByteString value) Yamcs instance nameView namesetNameBytes(com.google.protobuf.ByteString value) View nameMethods 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<SaveViewRequest.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<SaveViewRequest.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<SaveViewRequest.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<SaveViewRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SaveViewRequest.Builder>
-
mergeFrom
public SaveViewRequest.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<SaveViewRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceSaveViewRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceSaveViewRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceSaveViewRequestOrBuilder- Returns:
- The bytes for instance.
-
setInstance
Yamcs instance name
optional string instance = 1;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
Yamcs instance name
optional string instance = 1;- Returns:
- This builder for chaining.
-
setInstanceBytes
Yamcs instance name
optional string instance = 1;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Optional view identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID. If a view with this identifier already exists, it is replaced.
optional string id = 5;- Specified by:
hasIdin interfaceSaveViewRequestOrBuilder- Returns:
- Whether the id field is set.
-
getId
Optional view identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID. If a view with this identifier already exists, it is replaced.
optional string id = 5;- Specified by:
getIdin interfaceSaveViewRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Optional view identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID. If a view with this identifier already exists, it is replaced.
optional string id = 5;- Specified by:
getIdBytesin interfaceSaveViewRequestOrBuilder- Returns:
- The bytes for id.
-
setId
Optional view identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID. If a view with this identifier already exists, it is replaced.
optional string id = 5;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Optional view identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID. If a view with this identifier already exists, it is replaced.
optional string id = 5;- Returns:
- This builder for chaining.
-
setIdBytes
Optional view identifier. If not set, an ID will be assigned by the server. If set, it should be a valid UUID. If a view with this identifier already exists, it is replaced.
optional string id = 5;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()View name
optional string name = 2;- Specified by:
hasNamein interfaceSaveViewRequestOrBuilder- Returns:
- Whether the name field is set.
-
getName
View name
optional string name = 2;- Specified by:
getNamein interfaceSaveViewRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()View name
optional string name = 2;- Specified by:
getNameBytesin interfaceSaveViewRequestOrBuilder- Returns:
- The bytes for name.
-
setName
View name
optional string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
View name
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
View name
optional string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()View description
optional string description = 3;- Specified by:
hasDescriptionin interfaceSaveViewRequestOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
View description
optional string description = 3;- Specified by:
getDescriptionin interfaceSaveViewRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()View description
optional string description = 3;- Specified by:
getDescriptionBytesin interfaceSaveViewRequestOrBuilder- Returns:
- The bytes for description.
-
setDescription
View description
optional string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
View description
optional string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
View description
optional string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getBandsList
public com.google.protobuf.ProtocolStringList getBandsList()The bands belonging to this view
repeated string bands = 4;- Specified by:
getBandsListin interfaceSaveViewRequestOrBuilder- Returns:
- A list containing the bands.
-
getBandsCount
public int getBandsCount()The bands belonging to this view
repeated string bands = 4;- Specified by:
getBandsCountin interfaceSaveViewRequestOrBuilder- Returns:
- The count of bands.
-
getBands
The bands belonging to this view
repeated string bands = 4;- Specified by:
getBandsin interfaceSaveViewRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The bands at the given index.
-
getBandsBytes
public com.google.protobuf.ByteString getBandsBytes(int index) The bands belonging to this view
repeated string bands = 4;- Specified by:
getBandsBytesin interfaceSaveViewRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the bands at the given index.
-
setBands
The bands belonging to this view
repeated string bands = 4;- Parameters:
index- The index to set the value at.value- The bands to set.- Returns:
- This builder for chaining.
-
addBands
The bands belonging to this view
repeated string bands = 4;- Parameters:
value- The bands to add.- Returns:
- This builder for chaining.
-
addAllBands
The bands belonging to this view
repeated string bands = 4;- Parameters:
values- The bands to add.- Returns:
- This builder for chaining.
-
clearBands
The bands belonging to this view
repeated string bands = 4;- Returns:
- This builder for chaining.
-
addBandsBytes
The bands belonging to this view
repeated string bands = 4;- Parameters:
value- The bytes of the bands to add.- Returns:
- This builder for chaining.
-