Class ListErrorFramesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListErrorFramesResponse.Builder>
com.google.cloud.migrationcenter.v1.ListErrorFramesResponse.Builder
All Implemented Interfaces:
ListErrorFramesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListErrorFramesResponse

public static final class ListErrorFramesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListErrorFramesResponse.Builder> implements ListErrorFramesResponseOrBuilder
 A response for listing error frames.
 
Protobuf type google.cloud.migrationcenter.v1.ListErrorFramesResponse
  • 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<ListErrorFramesResponse.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<ListErrorFramesResponse.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<ListErrorFramesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListErrorFramesResponse.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<ListErrorFramesResponse.Builder>
      Throws:
      IOException
    • getErrorFramesList

      public List<ErrorFrame> getErrorFramesList()
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
      Specified by:
      getErrorFramesList in interface ListErrorFramesResponseOrBuilder
    • getErrorFramesCount

      public int getErrorFramesCount()
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
      Specified by:
      getErrorFramesCount in interface ListErrorFramesResponseOrBuilder
    • getErrorFrames

      public ErrorFrame getErrorFrames(int index)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
      Specified by:
      getErrorFrames in interface ListErrorFramesResponseOrBuilder
    • setErrorFrames

      public ListErrorFramesResponse.Builder setErrorFrames(int index, ErrorFrame value)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • setErrorFrames

      public ListErrorFramesResponse.Builder setErrorFrames(int index, ErrorFrame.Builder builderForValue)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • addErrorFrames

      public ListErrorFramesResponse.Builder addErrorFrames(ErrorFrame value)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • addErrorFrames

      public ListErrorFramesResponse.Builder addErrorFrames(int index, ErrorFrame value)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • addErrorFrames

      public ListErrorFramesResponse.Builder addErrorFrames(ErrorFrame.Builder builderForValue)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • addErrorFrames

      public ListErrorFramesResponse.Builder addErrorFrames(int index, ErrorFrame.Builder builderForValue)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • addAllErrorFrames

      public ListErrorFramesResponse.Builder addAllErrorFrames(Iterable<? extends ErrorFrame> values)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • clearErrorFrames

      public ListErrorFramesResponse.Builder clearErrorFrames()
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • removeErrorFrames

      public ListErrorFramesResponse.Builder removeErrorFrames(int index)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • getErrorFramesBuilder

      public ErrorFrame.Builder getErrorFramesBuilder(int index)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • getErrorFramesOrBuilder

      public ErrorFrameOrBuilder getErrorFramesOrBuilder(int index)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
      Specified by:
      getErrorFramesOrBuilder in interface ListErrorFramesResponseOrBuilder
    • getErrorFramesOrBuilderList

      public List<? extends ErrorFrameOrBuilder> getErrorFramesOrBuilderList()
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
      Specified by:
      getErrorFramesOrBuilderList in interface ListErrorFramesResponseOrBuilder
    • addErrorFramesBuilder

      public ErrorFrame.Builder addErrorFramesBuilder()
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • addErrorFramesBuilder

      public ErrorFrame.Builder addErrorFramesBuilder(int index)
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • getErrorFramesBuilderList

      public List<ErrorFrame.Builder> getErrorFramesBuilderList()
       The list of error frames.
       
      repeated .google.cloud.migrationcenter.v1.ErrorFrame error_frames = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListErrorFramesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListErrorFramesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListErrorFramesResponse.Builder setNextPageToken(String value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListErrorFramesResponse.Builder clearNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListErrorFramesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListErrorFramesResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListErrorFramesResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListErrorFramesResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListErrorFramesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListErrorFramesResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListErrorFramesResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListErrorFramesResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListErrorFramesResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListErrorFramesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.