Class TransferTypes.ErrorLogEntry

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.storagetransfer.v1.proto.TransferTypes.ErrorLogEntry
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TransferTypes.ErrorLogEntryOrBuilder, Serializable
Enclosing class:
TransferTypes

public static final class TransferTypes.ErrorLogEntry extends com.google.protobuf.GeneratedMessage implements TransferTypes.ErrorLogEntryOrBuilder
 An entry describing an error that has occurred.
 
Protobuf type google.storagetransfer.v1.ErrorLogEntry
See Also:
  • Field Details

  • 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
    • getUrl

      public String getUrl()
       Required. A URL that refers to the target (a data source, a data sink,
       or an object) with which the error is associated.
       
      string url = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUrl in interface TransferTypes.ErrorLogEntryOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
       Required. A URL that refers to the target (a data source, a data sink,
       or an object) with which the error is associated.
       
      string url = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUrlBytes in interface TransferTypes.ErrorLogEntryOrBuilder
      Returns:
      The bytes for url.
    • getErrorDetailsList

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

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

      public String getErrorDetails(int index)
       A list of messages that carry the error details.
       
      repeated string error_details = 3;
      Specified by:
      getErrorDetails in interface TransferTypes.ErrorLogEntryOrBuilder
      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 = 3;
      Specified by:
      getErrorDetailsBytes in interface TransferTypes.ErrorLogEntryOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the errorDetails at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static TransferTypes.ErrorLogEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.ErrorLogEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.ErrorLogEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.ErrorLogEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.ErrorLogEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.ErrorLogEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransferTypes.ErrorLogEntry parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferTypes.ErrorLogEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransferTypes.ErrorLogEntry parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransferTypes.ErrorLogEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferTypes.ErrorLogEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransferTypes.ErrorLogEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public TransferTypes.ErrorLogEntry.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static TransferTypes.ErrorLogEntry.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TransferTypes.ErrorLogEntry.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TransferTypes.ErrorLogEntry getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TransferTypes.ErrorLogEntry> parser()
    • getParserForType

      public com.google.protobuf.Parser<TransferTypes.ErrorLogEntry> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public TransferTypes.ErrorLogEntry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder