Class TransferTypes.ErrorSummary

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

public static final class TransferTypes.ErrorSummary extends com.google.protobuf.GeneratedMessage implements TransferTypes.ErrorSummaryOrBuilder
 A summary of errors by error code, plus a count and sample error log
 entries.
 
Protobuf type google.storagetransfer.v1.ErrorSummary
See Also:
  • Field Details

    • ERROR_CODE_FIELD_NUMBER

      public static final int ERROR_CODE_FIELD_NUMBER
      See Also:
    • ERROR_COUNT_FIELD_NUMBER

      public static final int ERROR_COUNT_FIELD_NUMBER
      See Also:
    • ERROR_LOG_ENTRIES_FIELD_NUMBER

      public static final int ERROR_LOG_ENTRIES_FIELD_NUMBER
      See Also:
  • 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
    • getErrorCodeValue

      public int getErrorCodeValue()
       Required.
       
      .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getErrorCodeValue in interface TransferTypes.ErrorSummaryOrBuilder
      Returns:
      The enum numeric value on the wire for errorCode.
    • getErrorCode

      public Code getErrorCode()
       Required.
       
      .google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getErrorCode in interface TransferTypes.ErrorSummaryOrBuilder
      Returns:
      The errorCode.
    • getErrorCount

      public long getErrorCount()
       Required. Count of this type of error.
       
      int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getErrorCount in interface TransferTypes.ErrorSummaryOrBuilder
      Returns:
      The errorCount.
    • getErrorLogEntriesList

      public List<TransferTypes.ErrorLogEntry> getErrorLogEntriesList()
       Error samples.
      
       At most 5 error log entries are recorded for a given
       error code for a single transfer operation.
       
      repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      Specified by:
      getErrorLogEntriesList in interface TransferTypes.ErrorSummaryOrBuilder
    • getErrorLogEntriesOrBuilderList

      public List<? extends TransferTypes.ErrorLogEntryOrBuilder> getErrorLogEntriesOrBuilderList()
       Error samples.
      
       At most 5 error log entries are recorded for a given
       error code for a single transfer operation.
       
      repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      Specified by:
      getErrorLogEntriesOrBuilderList in interface TransferTypes.ErrorSummaryOrBuilder
    • getErrorLogEntriesCount

      public int getErrorLogEntriesCount()
       Error samples.
      
       At most 5 error log entries are recorded for a given
       error code for a single transfer operation.
       
      repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      Specified by:
      getErrorLogEntriesCount in interface TransferTypes.ErrorSummaryOrBuilder
    • getErrorLogEntries

      public TransferTypes.ErrorLogEntry getErrorLogEntries(int index)
       Error samples.
      
       At most 5 error log entries are recorded for a given
       error code for a single transfer operation.
       
      repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      Specified by:
      getErrorLogEntries in interface TransferTypes.ErrorSummaryOrBuilder
    • getErrorLogEntriesOrBuilder

      public TransferTypes.ErrorLogEntryOrBuilder getErrorLogEntriesOrBuilder(int index)
       Error samples.
      
       At most 5 error log entries are recorded for a given
       error code for a single transfer operation.
       
      repeated .google.storagetransfer.v1.ErrorLogEntry error_log_entries = 3;
      Specified by:
      getErrorLogEntriesOrBuilder in interface TransferTypes.ErrorSummaryOrBuilder
    • 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.ErrorSummary parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static TransferTypes.ErrorSummary 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.ErrorSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

      public static TransferTypes.ErrorSummary.Builder newBuilder(TransferTypes.ErrorSummary prototype)
    • toBuilder

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

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

      public static TransferTypes.ErrorSummary getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<TransferTypes.ErrorSummary> 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.ErrorSummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder