Class Status.StatusAnnotation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Status.StatusAnnotation.Builder>
com.google.protobuf.GeneratedMessage.Builder<Status.StatusAnnotation.Builder>
udpa.annotations.Status.StatusAnnotation.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Status.StatusAnnotationOrBuilder
Enclosing class:
Status.StatusAnnotation

public static final class Status.StatusAnnotation.Builder extends com.google.protobuf.GeneratedMessage.Builder<Status.StatusAnnotation.Builder> implements Status.StatusAnnotationOrBuilder
Protobuf type udpa.annotations.StatusAnnotation
  • Field Details

    • bitField0_

      private int bitField0_
    • workInProgress_

      private boolean workInProgress_
    • packageVersionStatus_

      private int packageVersionStatus_
  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • 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<Status.StatusAnnotation.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<Status.StatusAnnotation.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<Status.StatusAnnotation.Builder>
    • getDefaultInstanceForType

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

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

      public Status.StatusAnnotation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • buildPartial0

      private void buildPartial0(Status.StatusAnnotation result)
    • mergeFrom

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

      public Status.StatusAnnotation.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<Status.StatusAnnotation.Builder>
      Throws:
      IOException
    • getWorkInProgress

      public boolean getWorkInProgress()
       The entity is work-in-progress and subject to breaking changes.
       
      bool work_in_progress = 1;
      Specified by:
      getWorkInProgress in interface Status.StatusAnnotationOrBuilder
      Returns:
      The workInProgress.
    • setWorkInProgress

      public Status.StatusAnnotation.Builder setWorkInProgress(boolean value)
       The entity is work-in-progress and subject to breaking changes.
       
      bool work_in_progress = 1;
      Parameters:
      value - The workInProgress to set.
      Returns:
      This builder for chaining.
    • clearWorkInProgress

      public Status.StatusAnnotation.Builder clearWorkInProgress()
       The entity is work-in-progress and subject to breaking changes.
       
      bool work_in_progress = 1;
      Returns:
      This builder for chaining.
    • getPackageVersionStatusValue

      public int getPackageVersionStatusValue()
       The entity belongs to a package with the given version status.
       
      .udpa.annotations.PackageVersionStatus package_version_status = 2;
      Specified by:
      getPackageVersionStatusValue in interface Status.StatusAnnotationOrBuilder
      Returns:
      The enum numeric value on the wire for packageVersionStatus.
    • setPackageVersionStatusValue

      public Status.StatusAnnotation.Builder setPackageVersionStatusValue(int value)
       The entity belongs to a package with the given version status.
       
      .udpa.annotations.PackageVersionStatus package_version_status = 2;
      Parameters:
      value - The enum numeric value on the wire for packageVersionStatus to set.
      Returns:
      This builder for chaining.
    • getPackageVersionStatus

      public Status.PackageVersionStatus getPackageVersionStatus()
       The entity belongs to a package with the given version status.
       
      .udpa.annotations.PackageVersionStatus package_version_status = 2;
      Specified by:
      getPackageVersionStatus in interface Status.StatusAnnotationOrBuilder
      Returns:
      The packageVersionStatus.
    • setPackageVersionStatus

      public Status.StatusAnnotation.Builder setPackageVersionStatus(Status.PackageVersionStatus value)
       The entity belongs to a package with the given version status.
       
      .udpa.annotations.PackageVersionStatus package_version_status = 2;
      Parameters:
      value - The packageVersionStatus to set.
      Returns:
      This builder for chaining.
    • clearPackageVersionStatus

      public Status.StatusAnnotation.Builder clearPackageVersionStatus()
       The entity belongs to a package with the given version status.
       
      .udpa.annotations.PackageVersionStatus package_version_status = 2;
      Returns:
      This builder for chaining.