Class DependencyErrorDetail.Builder

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

public static final class DependencyErrorDetail.Builder extends com.google.protobuf.GeneratedMessage.Builder<DependencyErrorDetail.Builder> implements DependencyErrorDetailOrBuilder
 Details describing error condition of a dependency.
 
Protobuf type google.cloud.apihub.v1.DependencyErrorDetail
  • 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<DependencyErrorDetail.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<DependencyErrorDetail.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<DependencyErrorDetail.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DependencyErrorDetail.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<DependencyErrorDetail.Builder>
      Throws:
      IOException
    • getErrorValue

      public int getErrorValue()
       Optional. Error in the dependency.
       
      .google.cloud.apihub.v1.DependencyErrorDetail.Error error = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrorValue in interface DependencyErrorDetailOrBuilder
      Returns:
      The enum numeric value on the wire for error.
    • setErrorValue

      public DependencyErrorDetail.Builder setErrorValue(int value)
       Optional. Error in the dependency.
       
      .google.cloud.apihub.v1.DependencyErrorDetail.Error error = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for error to set.
      Returns:
      This builder for chaining.
    • getError

      public DependencyErrorDetail.Error getError()
       Optional. Error in the dependency.
       
      .google.cloud.apihub.v1.DependencyErrorDetail.Error error = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getError in interface DependencyErrorDetailOrBuilder
      Returns:
      The error.
    • setError

       Optional. Error in the dependency.
       
      .google.cloud.apihub.v1.DependencyErrorDetail.Error error = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The error to set.
      Returns:
      This builder for chaining.
    • clearError

      public DependencyErrorDetail.Builder clearError()
       Optional. Error in the dependency.
       
      .google.cloud.apihub.v1.DependencyErrorDetail.Error error = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasErrorTime

      public boolean hasErrorTime()
       Optional. Timestamp at which the error was found.
       
      .google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasErrorTime in interface DependencyErrorDetailOrBuilder
      Returns:
      Whether the errorTime field is set.
    • getErrorTime

      public com.google.protobuf.Timestamp getErrorTime()
       Optional. Timestamp at which the error was found.
       
      .google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrorTime in interface DependencyErrorDetailOrBuilder
      Returns:
      The errorTime.
    • setErrorTime

      public DependencyErrorDetail.Builder setErrorTime(com.google.protobuf.Timestamp value)
       Optional. Timestamp at which the error was found.
       
      .google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setErrorTime

      public DependencyErrorDetail.Builder setErrorTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Optional. Timestamp at which the error was found.
       
      .google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeErrorTime

      public DependencyErrorDetail.Builder mergeErrorTime(com.google.protobuf.Timestamp value)
       Optional. Timestamp at which the error was found.
       
      .google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearErrorTime

      public DependencyErrorDetail.Builder clearErrorTime()
       Optional. Timestamp at which the error was found.
       
      .google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getErrorTimeBuilder

      public com.google.protobuf.Timestamp.Builder getErrorTimeBuilder()
       Optional. Timestamp at which the error was found.
       
      .google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getErrorTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder()
       Optional. Timestamp at which the error was found.
       
      .google.protobuf.Timestamp error_time = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrorTimeOrBuilder in interface DependencyErrorDetailOrBuilder