Class TransferErrorLogEntry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferErrorLogEntry.Builder>
com.google.cloud.parallelstore.v1beta.TransferErrorLogEntry.Builder
All Implemented Interfaces:
TransferErrorLogEntryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TransferErrorLogEntry

public static final class TransferErrorLogEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<TransferErrorLogEntry.Builder> implements TransferErrorLogEntryOrBuilder
 An entry describing an error that has occurred.
 
Protobuf type google.cloud.parallelstore.v1beta.TransferErrorLogEntry
  • 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<TransferErrorLogEntry.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<TransferErrorLogEntry.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<TransferErrorLogEntry.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public TransferErrorLogEntry.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<TransferErrorLogEntry.Builder>
      Throws:
      IOException
    • getUri

      public String getUri()
       A URL that refers to the target (a data source, a data sink,
       or an object) with which the error is associated.
       
      string uri = 1;
      Specified by:
      getUri in interface TransferErrorLogEntryOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       A URL that refers to the target (a data source, a data sink,
       or an object) with which the error is associated.
       
      string uri = 1;
      Specified by:
      getUriBytes in interface TransferErrorLogEntryOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public TransferErrorLogEntry.Builder setUri(String value)
       A URL that refers to the target (a data source, a data sink,
       or an object) with which the error is associated.
       
      string uri = 1;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public TransferErrorLogEntry.Builder clearUri()
       A URL that refers to the target (a data source, a data sink,
       or an object) with which the error is associated.
       
      string uri = 1;
      Returns:
      This builder for chaining.
    • setUriBytes

      public TransferErrorLogEntry.Builder setUriBytes(com.google.protobuf.ByteString value)
       A URL that refers to the target (a data source, a data sink,
       or an object) with which the error is associated.
       
      string uri = 1;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getErrorDetailsList

      public com.google.protobuf.ProtocolStringList getErrorDetailsList()
       A list of messages that carry the error details.
       
      repeated string error_details = 2;
      Specified by:
      getErrorDetailsList in interface TransferErrorLogEntryOrBuilder
      Returns:
      A list containing the errorDetails.
    • getErrorDetailsCount

      public int getErrorDetailsCount()
       A list of messages that carry the error details.
       
      repeated string error_details = 2;
      Specified by:
      getErrorDetailsCount in interface TransferErrorLogEntryOrBuilder
      Returns:
      The count of errorDetails.
    • getErrorDetails

      public String getErrorDetails(int index)
       A list of messages that carry the error details.
       
      repeated string error_details = 2;
      Specified by:
      getErrorDetails in interface TransferErrorLogEntryOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The errorDetails at the given index.
    • getErrorDetailsBytes

      public com.google.protobuf.ByteString getErrorDetailsBytes(int index)
       A list of messages that carry the error details.
       
      repeated string error_details = 2;
      Specified by:
      getErrorDetailsBytes in interface TransferErrorLogEntryOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the errorDetails at the given index.
    • setErrorDetails

      public TransferErrorLogEntry.Builder setErrorDetails(int index, String value)
       A list of messages that carry the error details.
       
      repeated string error_details = 2;
      Parameters:
      index - The index to set the value at.
      value - The errorDetails to set.
      Returns:
      This builder for chaining.
    • addErrorDetails

      public TransferErrorLogEntry.Builder addErrorDetails(String value)
       A list of messages that carry the error details.
       
      repeated string error_details = 2;
      Parameters:
      value - The errorDetails to add.
      Returns:
      This builder for chaining.
    • addAllErrorDetails

      public TransferErrorLogEntry.Builder addAllErrorDetails(Iterable<String> values)
       A list of messages that carry the error details.
       
      repeated string error_details = 2;
      Parameters:
      values - The errorDetails to add.
      Returns:
      This builder for chaining.
    • clearErrorDetails

      public TransferErrorLogEntry.Builder clearErrorDetails()
       A list of messages that carry the error details.
       
      repeated string error_details = 2;
      Returns:
      This builder for chaining.
    • addErrorDetailsBytes

      public TransferErrorLogEntry.Builder addErrorDetailsBytes(com.google.protobuf.ByteString value)
       A list of messages that carry the error details.
       
      repeated string error_details = 2;
      Parameters:
      value - The bytes of the errorDetails to add.
      Returns:
      This builder for chaining.