Package org.yamcs.protobuf
Class ListFilesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListFilesResponse.Builder>
org.yamcs.protobuf.ListFilesResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ListFilesResponseOrBuilder
- Enclosing class:
- ListFilesResponse
public static final class ListFilesResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListFilesResponse.Builder>
implements ListFilesResponseOrBuilder
Protobuf type
yamcs.protobuf.filetransfer.ListFilesResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFiles
(Iterable<? extends RemoteFile> values) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
addFiles
(int index, RemoteFile value) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
addFiles
(int index, RemoteFile.Builder builderForValue) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
addFiles
(RemoteFile value) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
addFiles
(RemoteFile.Builder builderForValue) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
addFilesBuilder
(int index) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string destination = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
optional .google.protobuf.Timestamp listTime = 4;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Progress message, in case the file listing is still underwayoptional string remotePath = 3;
optional string state = 5;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional string destination = 2;
com.google.protobuf.ByteString
optional string destination = 2;
getFiles
(int index) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
getFilesBuilder
(int index) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
int
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
getFilesOrBuilder
(int index) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
List<? extends RemoteFileOrBuilder>
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
com.google.protobuf.Timestamp
optional .google.protobuf.Timestamp listTime = 4;
com.google.protobuf.Timestamp.Builder
optional .google.protobuf.Timestamp listTime = 4;
com.google.protobuf.TimestampOrBuilder
optional .google.protobuf.Timestamp listTime = 4;
Progress message, in case the file listing is still underwaycom.google.protobuf.ByteString
Progress message, in case the file listing is still underwayoptional string remotePath = 3;
com.google.protobuf.ByteString
optional string remotePath = 3;
getState()
optional string state = 5;
com.google.protobuf.ByteString
optional string state = 5;
boolean
optional string destination = 2;
boolean
optional .google.protobuf.Timestamp listTime = 4;
boolean
Progress message, in case the file listing is still underwayboolean
optional string remotePath = 3;
boolean
hasState()
optional string state = 5;
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
(ListFilesResponse other) mergeListTime
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp listTime = 4;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeFiles
(int index) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
setDestination
(String value) optional string destination = 2;
setDestinationBytes
(com.google.protobuf.ByteString value) optional string destination = 2;
setFiles
(int index, RemoteFile value) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
setFiles
(int index, RemoteFile.Builder builderForValue) repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
setListTime
(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp listTime = 4;
setListTime
(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp listTime = 4;
setProgressMessage
(String value) Progress message, in case the file listing is still underwaysetProgressMessageBytes
(com.google.protobuf.ByteString value) Progress message, in case the file listing is still underwaysetRemotePath
(String value) optional string remotePath = 3;
setRemotePathBytes
(com.google.protobuf.ByteString value) optional string remotePath = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) optional string state = 5;
setStateBytes
(com.google.protobuf.ByteString value) optional string state = 5;
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<ListFilesResponse.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<ListFilesResponse.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<ListFilesResponse.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<ListFilesResponse.Builder>
-
setField
public ListFilesResponse.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<ListFilesResponse.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFilesResponse.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFilesResponse.Builder>
-
setRepeatedField
public ListFilesResponse.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<ListFilesResponse.Builder>
-
addRepeatedField
public ListFilesResponse.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<ListFilesResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListFilesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFilesResponse.Builder>
-
mergeFrom
public ListFilesResponse.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<ListFilesResponse.Builder>
- Throws:
IOException
-
getFilesList
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
- Specified by:
getFilesList
in interfaceListFilesResponseOrBuilder
-
getFilesCount
public int getFilesCount()repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
- Specified by:
getFilesCount
in interfaceListFilesResponseOrBuilder
-
getFiles
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
- Specified by:
getFiles
in interfaceListFilesResponseOrBuilder
-
setFiles
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
setFiles
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
addFiles
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
addFiles
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
addFiles
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
addFiles
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
addAllFiles
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
clearFiles
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
removeFiles
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
getFilesBuilder
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
getFilesOrBuilder
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
- Specified by:
getFilesOrBuilder
in interfaceListFilesResponseOrBuilder
-
getFilesOrBuilderList
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
- Specified by:
getFilesOrBuilderList
in interfaceListFilesResponseOrBuilder
-
addFilesBuilder
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
addFilesBuilder
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
getFilesBuilderList
repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
-
hasDestination
public boolean hasDestination()optional string destination = 2;
- Specified by:
hasDestination
in interfaceListFilesResponseOrBuilder
- Returns:
- Whether the destination field is set.
-
getDestination
optional string destination = 2;
- Specified by:
getDestination
in interfaceListFilesResponseOrBuilder
- Returns:
- The destination.
-
getDestinationBytes
public com.google.protobuf.ByteString getDestinationBytes()optional string destination = 2;
- Specified by:
getDestinationBytes
in interfaceListFilesResponseOrBuilder
- Returns:
- The bytes for destination.
-
setDestination
optional string destination = 2;
- Parameters:
value
- The destination to set.- Returns:
- This builder for chaining.
-
clearDestination
optional string destination = 2;
- Returns:
- This builder for chaining.
-
setDestinationBytes
optional string destination = 2;
- Parameters:
value
- The bytes for destination to set.- Returns:
- This builder for chaining.
-
hasRemotePath
public boolean hasRemotePath()optional string remotePath = 3;
- Specified by:
hasRemotePath
in interfaceListFilesResponseOrBuilder
- Returns:
- Whether the remotePath field is set.
-
getRemotePath
optional string remotePath = 3;
- Specified by:
getRemotePath
in interfaceListFilesResponseOrBuilder
- Returns:
- The remotePath.
-
getRemotePathBytes
public com.google.protobuf.ByteString getRemotePathBytes()optional string remotePath = 3;
- Specified by:
getRemotePathBytes
in interfaceListFilesResponseOrBuilder
- Returns:
- The bytes for remotePath.
-
setRemotePath
optional string remotePath = 3;
- Parameters:
value
- The remotePath to set.- Returns:
- This builder for chaining.
-
clearRemotePath
optional string remotePath = 3;
- Returns:
- This builder for chaining.
-
setRemotePathBytes
optional string remotePath = 3;
- Parameters:
value
- The bytes for remotePath to set.- Returns:
- This builder for chaining.
-
hasListTime
public boolean hasListTime()optional .google.protobuf.Timestamp listTime = 4;
- Specified by:
hasListTime
in interfaceListFilesResponseOrBuilder
- Returns:
- Whether the listTime field is set.
-
getListTime
public com.google.protobuf.Timestamp getListTime()optional .google.protobuf.Timestamp listTime = 4;
- Specified by:
getListTime
in interfaceListFilesResponseOrBuilder
- Returns:
- The listTime.
-
setListTime
optional .google.protobuf.Timestamp listTime = 4;
-
setListTime
optional .google.protobuf.Timestamp listTime = 4;
-
mergeListTime
optional .google.protobuf.Timestamp listTime = 4;
-
clearListTime
optional .google.protobuf.Timestamp listTime = 4;
-
getListTimeBuilder
public com.google.protobuf.Timestamp.Builder getListTimeBuilder()optional .google.protobuf.Timestamp listTime = 4;
-
getListTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getListTimeOrBuilder()optional .google.protobuf.Timestamp listTime = 4;
- Specified by:
getListTimeOrBuilder
in interfaceListFilesResponseOrBuilder
-
hasState
public boolean hasState()optional string state = 5;
- Specified by:
hasState
in interfaceListFilesResponseOrBuilder
- Returns:
- Whether the state field is set.
-
getState
optional string state = 5;
- Specified by:
getState
in interfaceListFilesResponseOrBuilder
- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()optional string state = 5;
- Specified by:
getStateBytes
in interfaceListFilesResponseOrBuilder
- Returns:
- The bytes for state.
-
setState
optional string state = 5;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
optional string state = 5;
- Returns:
- This builder for chaining.
-
setStateBytes
optional string state = 5;
- Parameters:
value
- The bytes for state to set.- Returns:
- This builder for chaining.
-
hasProgressMessage
public boolean hasProgressMessage()Progress message, in case the file listing is still underway
optional string progressMessage = 6;
- Specified by:
hasProgressMessage
in interfaceListFilesResponseOrBuilder
- Returns:
- Whether the progressMessage field is set.
-
getProgressMessage
Progress message, in case the file listing is still underway
optional string progressMessage = 6;
- Specified by:
getProgressMessage
in interfaceListFilesResponseOrBuilder
- Returns:
- The progressMessage.
-
getProgressMessageBytes
public com.google.protobuf.ByteString getProgressMessageBytes()Progress message, in case the file listing is still underway
optional string progressMessage = 6;
- Specified by:
getProgressMessageBytes
in interfaceListFilesResponseOrBuilder
- Returns:
- The bytes for progressMessage.
-
setProgressMessage
Progress message, in case the file listing is still underway
optional string progressMessage = 6;
- Parameters:
value
- The progressMessage to set.- Returns:
- This builder for chaining.
-
clearProgressMessage
Progress message, in case the file listing is still underway
optional string progressMessage = 6;
- Returns:
- This builder for chaining.
-
setProgressMessageBytes
Progress message, in case the file listing is still underway
optional string progressMessage = 6;
- Parameters:
value
- The bytes for progressMessage to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListFilesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFilesResponse.Builder>
-
mergeUnknownFields
public final ListFilesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFilesResponse.Builder>
-