Class ReconfigureInstanceRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ReconfigureInstanceRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<ReconfigureInstanceRequest.Builder>
org.yamcs.protobuf.ReconfigureInstanceRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ReconfigureInstanceRequestOrBuilder
Enclosing class:
ReconfigureInstanceRequest

public static final class ReconfigureInstanceRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReconfigureInstanceRequest.Builder> implements ReconfigureInstanceRequestOrBuilder
Protobuf type yamcs.protobuf.instances.ReconfigureInstanceRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ReconfigureInstanceRequest.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ReconfigureInstanceRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReconfigureInstanceRequest.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<ReconfigureInstanceRequest.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<ReconfigureInstanceRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public ReconfigureInstanceRequest.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<ReconfigureInstanceRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReconfigureInstanceRequest.Builder>
    • mergeFrom

      public ReconfigureInstanceRequest.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<ReconfigureInstanceRequest.Builder>
      Throws:
      IOException
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface ReconfigureInstanceRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstance in interface ReconfigureInstanceRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface ReconfigureInstanceRequestOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

      public ReconfigureInstanceRequest.Builder setInstance(String value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public ReconfigureInstanceRequest.Builder clearInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public ReconfigureInstanceRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • getTemplateArgsCount

      public int getTemplateArgsCount()
      Description copied from interface: ReconfigureInstanceRequestOrBuilder
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 2;
      Specified by:
      getTemplateArgsCount in interface ReconfigureInstanceRequestOrBuilder
    • containsTemplateArgs

      public boolean containsTemplateArgs(String key)
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 2;
      Specified by:
      containsTemplateArgs in interface ReconfigureInstanceRequestOrBuilder
    • getTemplateArgs

      @Deprecated public Map<String,String> getTemplateArgs()
      Deprecated.
      Specified by:
      getTemplateArgs in interface ReconfigureInstanceRequestOrBuilder
    • getTemplateArgsMap

      public Map<String,String> getTemplateArgsMap()
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 2;
      Specified by:
      getTemplateArgsMap in interface ReconfigureInstanceRequestOrBuilder
    • getTemplateArgsOrDefault

      public String getTemplateArgsOrDefault(String key, String defaultValue)
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 2;
      Specified by:
      getTemplateArgsOrDefault in interface ReconfigureInstanceRequestOrBuilder
    • getTemplateArgsOrThrow

      public String getTemplateArgsOrThrow(String key)
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 2;
      Specified by:
      getTemplateArgsOrThrow in interface ReconfigureInstanceRequestOrBuilder
    • clearTemplateArgs

      public ReconfigureInstanceRequest.Builder clearTemplateArgs()
    • removeTemplateArgs

      public ReconfigureInstanceRequest.Builder removeTemplateArgs(String key)
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 2;
    • getMutableTemplateArgs

      @Deprecated public Map<String,String> getMutableTemplateArgs()
      Deprecated.
      Use alternate mutation accessors instead.
    • putTemplateArgs

      public ReconfigureInstanceRequest.Builder putTemplateArgs(String key, String value)
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 2;
    • putAllTemplateArgs

      public ReconfigureInstanceRequest.Builder putAllTemplateArgs(Map<String,String> values)
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 2;
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ReconfigureInstanceRequestOrBuilder
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 3;
      Specified by:
      getLabelsCount in interface ReconfigureInstanceRequestOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 3;
      Specified by:
      containsLabels in interface ReconfigureInstanceRequestOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ReconfigureInstanceRequestOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 3;
      Specified by:
      getLabelsMap in interface ReconfigureInstanceRequestOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 3;
      Specified by:
      getLabelsOrDefault in interface ReconfigureInstanceRequestOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 3;
      Specified by:
      getLabelsOrThrow in interface ReconfigureInstanceRequestOrBuilder
    • clearLabels

      public ReconfigureInstanceRequest.Builder clearLabels()
    • removeLabels

      public ReconfigureInstanceRequest.Builder removeLabels(String key)
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 3;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public ReconfigureInstanceRequest.Builder putLabels(String key, String value)
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 3;
    • putAllLabels

      public ReconfigureInstanceRequest.Builder putAllLabels(Map<String,String> values)
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 3;