Package org.yamcs.protobuf
Class ListEventSourcesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListEventSourcesResponse.Builder>
org.yamcs.protobuf.ListEventSourcesResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ListEventSourcesResponseOrBuilder
- Enclosing class:
- ListEventSourcesResponse
public static final class ListEventSourcesResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListEventSourcesResponse.Builder>
implements ListEventSourcesResponseOrBuilder
Protobuf type
yamcs.protobuf.events.ListEventSourcesResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddAllSource
(Iterable<String> values) Deprecated.addAllSources
(Iterable<String> values) Known event sourcesaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Deprecated.addSourceBytes
(com.google.protobuf.ByteString value) Deprecated.addSources
(String value) Known event sourcesaddSourcesBytes
(com.google.protobuf.ByteString value) Known event sourcesbuild()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Deprecated.Known event sourcesclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getSource
(int index) Deprecated.com.google.protobuf.ByteString
getSourceBytes
(int index) Deprecated.int
Deprecated.com.google.protobuf.ProtocolStringList
Deprecated.getSources
(int index) Known event sourcescom.google.protobuf.ByteString
getSourcesBytes
(int index) Known event sourcesint
Known event sourcescom.google.protobuf.ProtocolStringList
Known event sourcesprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Deprecated.setSources
(int index, String value) Known event sourcessetUnknownFields
(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<ListEventSourcesResponse.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<ListEventSourcesResponse.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<ListEventSourcesResponse.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<ListEventSourcesResponse.Builder>
-
setField
public ListEventSourcesResponse.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<ListEventSourcesResponse.Builder>
-
clearField
public ListEventSourcesResponse.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<ListEventSourcesResponse.Builder>
-
clearOneof
public ListEventSourcesResponse.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<ListEventSourcesResponse.Builder>
-
setRepeatedField
public ListEventSourcesResponse.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<ListEventSourcesResponse.Builder>
-
addRepeatedField
public ListEventSourcesResponse.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<ListEventSourcesResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListEventSourcesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListEventSourcesResponse.Builder>
-
mergeFrom
public ListEventSourcesResponse.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<ListEventSourcesResponse.Builder>
- Throws:
IOException
-
getSourceList
Deprecated.Deprecated, use ``sources`` instead
repeated string source = 1 [deprecated = true];
- Specified by:
getSourceList
in interfaceListEventSourcesResponseOrBuilder
- Returns:
- A list containing the source.
-
getSourceCount
Deprecated.Deprecated, use ``sources`` instead
repeated string source = 1 [deprecated = true];
- Specified by:
getSourceCount
in interfaceListEventSourcesResponseOrBuilder
- Returns:
- The count of source.
-
getSource
Deprecated.Deprecated, use ``sources`` instead
repeated string source = 1 [deprecated = true];
- Specified by:
getSource
in interfaceListEventSourcesResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The source at the given index.
-
getSourceBytes
Deprecated.Deprecated, use ``sources`` instead
repeated string source = 1 [deprecated = true];
- Specified by:
getSourceBytes
in interfaceListEventSourcesResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the source at the given index.
-
setSource
Deprecated.Deprecated, use ``sources`` instead
repeated string source = 1 [deprecated = true];
- Parameters:
index
- The index to set the value at.value
- The source to set.- Returns:
- This builder for chaining.
-
addSource
Deprecated.Deprecated, use ``sources`` instead
repeated string source = 1 [deprecated = true];
- Parameters:
value
- The source to add.- Returns:
- This builder for chaining.
-
addAllSource
Deprecated.Deprecated, use ``sources`` instead
repeated string source = 1 [deprecated = true];
- Parameters:
values
- The source to add.- Returns:
- This builder for chaining.
-
clearSource
Deprecated.Deprecated, use ``sources`` instead
repeated string source = 1 [deprecated = true];
- Returns:
- This builder for chaining.
-
addSourceBytes
@Deprecated public ListEventSourcesResponse.Builder addSourceBytes(com.google.protobuf.ByteString value) Deprecated.Deprecated, use ``sources`` instead
repeated string source = 1 [deprecated = true];
- Parameters:
value
- The bytes of the source to add.- Returns:
- This builder for chaining.
-
getSourcesList
public com.google.protobuf.ProtocolStringList getSourcesList()Known event sources
repeated string sources = 2;
- Specified by:
getSourcesList
in interfaceListEventSourcesResponseOrBuilder
- Returns:
- A list containing the sources.
-
getSourcesCount
public int getSourcesCount()Known event sources
repeated string sources = 2;
- Specified by:
getSourcesCount
in interfaceListEventSourcesResponseOrBuilder
- Returns:
- The count of sources.
-
getSources
Known event sources
repeated string sources = 2;
- Specified by:
getSources
in interfaceListEventSourcesResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The sources at the given index.
-
getSourcesBytes
public com.google.protobuf.ByteString getSourcesBytes(int index) Known event sources
repeated string sources = 2;
- Specified by:
getSourcesBytes
in interfaceListEventSourcesResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the sources at the given index.
-
setSources
Known event sources
repeated string sources = 2;
- Parameters:
index
- The index to set the value at.value
- The sources to set.- Returns:
- This builder for chaining.
-
addSources
Known event sources
repeated string sources = 2;
- Parameters:
value
- The sources to add.- Returns:
- This builder for chaining.
-
addAllSources
Known event sources
repeated string sources = 2;
- Parameters:
values
- The sources to add.- Returns:
- This builder for chaining.
-
clearSources
Known event sources
repeated string sources = 2;
- Returns:
- This builder for chaining.
-
addSourcesBytes
Known event sources
repeated string sources = 2;
- Parameters:
value
- The bytes of the sources to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListEventSourcesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListEventSourcesResponse.Builder>
-
mergeUnknownFields
public final ListEventSourcesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListEventSourcesResponse.Builder>
-