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 characteristics
 
Protobuf type ai.pipestream.data.module.v1.Capabilities
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Capabilities.Builder>
    • clear

      public Capabilities.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Capabilities.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Capabilities.Builder>
    • getDefaultInstanceForType

      public Capabilities getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Capabilities build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Capabilities buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Capabilities.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Capabilities.Builder>
    • mergeFrom

      public Capabilities.Builder mergeFrom(Capabilities other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Capabilities.Builder>
      Throws:
      IOException
    • getTypesList

      public List<CapabilityType> getTypesList()
       List of capability types this module supports
       
      repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];
      Specified by:
      getTypesList in interface CapabilitiesOrBuilder
      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:
      getTypesCount in interface CapabilitiesOrBuilder
      Returns:
      The count of types.
    • getTypes

      public CapabilityType getTypes(int index)
       List of capability types this module supports
       
      repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];
      Specified by:
      getTypes in interface CapabilitiesOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The types at the given index.
    • setTypes

      public Capabilities.Builder setTypes(int index, CapabilityType value)
       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

      public Capabilities.Builder addTypes(CapabilityType value)
       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

      public Capabilities.Builder addAllTypes(Iterable<? extends CapabilityType> values)
       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

      public Capabilities.Builder 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

      public List<Integer> getTypesValueList()
       List of capability types this module supports
       
      repeated .ai.pipestream.data.module.v1.CapabilityType types = 1 [json_name = "types"];
      Specified by:
      getTypesValueList in interface CapabilitiesOrBuilder
      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:
      getTypesValue in interface CapabilitiesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of types at the given index.
    • setTypesValue

      public Capabilities.Builder setTypesValue(int index, int value)
       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

      public Capabilities.Builder addTypesValue(int value)
       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

      public Capabilities.Builder addAllTypesValue(Iterable<Integer> values)
       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.