Class Messages.StubImplementationCodeRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Messages.StubImplementationCodeRequest.Builder>
gauge.messages.Messages.StubImplementationCodeRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Messages.StubImplementationCodeRequestOrBuilder, Cloneable
Enclosing class:
Messages.StubImplementationCodeRequest

public static final class Messages.StubImplementationCodeRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Messages.StubImplementationCodeRequest.Builder> implements Messages.StubImplementationCodeRequestOrBuilder
 / Request for injecting code snippet into implementation file
 
Protobuf type gauge.messages.StubImplementationCodeRequest
  • 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<Messages.StubImplementationCodeRequest.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<Messages.StubImplementationCodeRequest.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<Messages.StubImplementationCodeRequest.Builder>
    • getDefaultInstanceForType

      public Messages.StubImplementationCodeRequest 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

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

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

      public Messages.StubImplementationCodeRequest.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<Messages.StubImplementationCodeRequest.Builder>
      Throws:
      IOException
    • getImplementationFilePath

      public String getImplementationFilePath()
       / Path of the file where the new stub implementation will be added
       
      string implementationFilePath = 1;
      Specified by:
      getImplementationFilePath in interface Messages.StubImplementationCodeRequestOrBuilder
      Returns:
      The implementationFilePath.
    • getImplementationFilePathBytes

      public com.google.protobuf.ByteString getImplementationFilePathBytes()
       / Path of the file where the new stub implementation will be added
       
      string implementationFilePath = 1;
      Specified by:
      getImplementationFilePathBytes in interface Messages.StubImplementationCodeRequestOrBuilder
      Returns:
      The bytes for implementationFilePath.
    • setImplementationFilePath

      public Messages.StubImplementationCodeRequest.Builder setImplementationFilePath(String value)
       / Path of the file where the new stub implementation will be added
       
      string implementationFilePath = 1;
      Parameters:
      value - The implementationFilePath to set.
      Returns:
      This builder for chaining.
    • clearImplementationFilePath

      public Messages.StubImplementationCodeRequest.Builder clearImplementationFilePath()
       / Path of the file where the new stub implementation will be added
       
      string implementationFilePath = 1;
      Returns:
      This builder for chaining.
    • setImplementationFilePathBytes

      public Messages.StubImplementationCodeRequest.Builder setImplementationFilePathBytes(com.google.protobuf.ByteString value)
       / Path of the file where the new stub implementation will be added
       
      string implementationFilePath = 1;
      Parameters:
      value - The bytes for implementationFilePath to set.
      Returns:
      This builder for chaining.
    • getCodesList

      public com.google.protobuf.ProtocolStringList getCodesList()
       / List of implementation codes to be appended to implementation file.
       
      repeated string codes = 2;
      Specified by:
      getCodesList in interface Messages.StubImplementationCodeRequestOrBuilder
      Returns:
      A list containing the codes.
    • getCodesCount

      public int getCodesCount()
       / List of implementation codes to be appended to implementation file.
       
      repeated string codes = 2;
      Specified by:
      getCodesCount in interface Messages.StubImplementationCodeRequestOrBuilder
      Returns:
      The count of codes.
    • getCodes

      public String getCodes(int index)
       / List of implementation codes to be appended to implementation file.
       
      repeated string codes = 2;
      Specified by:
      getCodes in interface Messages.StubImplementationCodeRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The codes at the given index.
    • getCodesBytes

      public com.google.protobuf.ByteString getCodesBytes(int index)
       / List of implementation codes to be appended to implementation file.
       
      repeated string codes = 2;
      Specified by:
      getCodesBytes in interface Messages.StubImplementationCodeRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the codes at the given index.
    • setCodes

      public Messages.StubImplementationCodeRequest.Builder setCodes(int index, String value)
       / List of implementation codes to be appended to implementation file.
       
      repeated string codes = 2;
      Parameters:
      index - The index to set the value at.
      value - The codes to set.
      Returns:
      This builder for chaining.
    • addCodes

       / List of implementation codes to be appended to implementation file.
       
      repeated string codes = 2;
      Parameters:
      value - The codes to add.
      Returns:
      This builder for chaining.
    • addAllCodes

       / List of implementation codes to be appended to implementation file.
       
      repeated string codes = 2;
      Parameters:
      values - The codes to add.
      Returns:
      This builder for chaining.
    • clearCodes

       / List of implementation codes to be appended to implementation file.
       
      repeated string codes = 2;
      Returns:
      This builder for chaining.
    • addCodesBytes

      public Messages.StubImplementationCodeRequest.Builder addCodesBytes(com.google.protobuf.ByteString value)
       / List of implementation codes to be appended to implementation file.
       
      repeated string codes = 2;
      Parameters:
      value - The bytes of the codes to add.
      Returns:
      This builder for chaining.