Package ai.pipestream.data.module.v1
Class Capabilities.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Capabilities.Builder>
com.google.protobuf.GeneratedMessage.Builder<Capabilities.Builder>
ai.pipestream.data.module.v1.Capabilities.Builder
- All Implemented Interfaces:
CapabilitiesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
Capabilities
public static final class Capabilities.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Capabilities.Builder>
implements CapabilitiesOrBuilder
Capabilities that describe the module's operational characteristicsProtobuf type
ai.pipestream.data.module.v1.Capabilities-
Method Summary
Modifier and TypeMethodDescriptionaddAllTypes(Iterable<? extends CapabilityType> values) List of capability types this module supportsaddAllTypesValue(Iterable<Integer> values) List of capability types this module supportsaddTypes(CapabilityType value) List of capability types this module supportsaddTypesValue(int value) List of capability types this module supportsbuild()clear()List of capability types this module supportsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetTypes(int index) List of capability types this module supportsintList of capability types this module supportsList of capability types this module supportsintgetTypesValue(int index) List of capability types this module supportsList of capability types this module supportsprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Capabilities other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setTypes(int index, CapabilityType value) List of capability types this module supportssetTypesValue(int index, int value) List of capability types this module supportsMethods 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<Capabilities.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<Capabilities.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<Capabilities.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<Capabilities.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Capabilities.Builder>
-
mergeFrom
public Capabilities.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<Capabilities.Builder>- Throws:
IOException
-
getTypesList
List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Specified by:
getTypesListin interfaceCapabilitiesOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Specified by:
getTypesCountin interfaceCapabilitiesOrBuilder- Returns:
- The count of types.
-
getTypes
List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Specified by:
getTypesin interfaceCapabilitiesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
setTypes
List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Parameters:
index- The index to set the value at.value- The types to set.- Returns:
- This builder for chaining.
-
addTypes
List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Parameters:
value- The types to add.- Returns:
- This builder for chaining.
-
addAllTypes
List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Parameters:
values- The types to add.- Returns:
- This builder for chaining.
-
clearTypes
List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Returns:
- This builder for chaining.
-
getTypesValueList
List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Specified by:
getTypesValueListin interfaceCapabilitiesOrBuilder- Returns:
- A list containing the enum numeric values on the wire for types.
-
getTypesValue
public int getTypesValue(int index) List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Specified by:
getTypesValuein interfaceCapabilitiesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of types at the given index.
-
setTypesValue
List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for types to set.- Returns:
- This builder for chaining.
-
addTypesValue
List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Parameters:
value- The enum numeric value on the wire for types to add.- Returns:
- This builder for chaining.
-
addAllTypesValue
List of capability types this module supports
repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];- Parameters:
values- The enum numeric values on the wire for types to add.- Returns:
- This builder for chaining.
-