Class SourceInfo.Extension.Version.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<SourceInfo.Extension.Version,SourceInfo.Extension.Version.Builder>
com.google.api.expr.v1alpha1.SourceInfo.Extension.Version.Builder
All Implemented Interfaces:
SourceInfo.Extension.VersionOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
SourceInfo.Extension.Version

public static final class SourceInfo.Extension.Version.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<SourceInfo.Extension.Version,SourceInfo.Extension.Version.Builder> implements SourceInfo.Extension.VersionOrBuilder
 Version
 
Protobuf type google.api.expr.v1alpha1.SourceInfo.Extension.Version
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    Major version changes indicate different required support level from the required components.
    Minor version changes must not change the observed behavior from existing implementations, but may be provided informationally.
    long
    Major version changes indicate different required support level from the required components.
    long
    Minor version changes must not change the observed behavior from existing implementations, but may be provided informationally.
    setMajor(long value)
    Major version changes indicate different required support level from the required components.
    setMinor(long value)
    Minor version changes must not change the observed behavior from existing implementations, but may be provided informationally.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getMajor

      public long getMajor()
       Major version changes indicate different required support level from
       the required components.
       
      int64 major = 1 [json_name = "major"];
      Specified by:
      getMajor in interface SourceInfo.Extension.VersionOrBuilder
      Returns:
      The major.
    • setMajor

      public SourceInfo.Extension.Version.Builder setMajor(long value)
       Major version changes indicate different required support level from
       the required components.
       
      int64 major = 1 [json_name = "major"];
      Parameters:
      value - The major to set.
      Returns:
      This builder for chaining.
    • clearMajor

       Major version changes indicate different required support level from
       the required components.
       
      int64 major = 1 [json_name = "major"];
      Returns:
      This builder for chaining.
    • getMinor

      public long getMinor()
       Minor version changes must not change the observed behavior from
       existing implementations, but may be provided informationally.
       
      int64 minor = 2 [json_name = "minor"];
      Specified by:
      getMinor in interface SourceInfo.Extension.VersionOrBuilder
      Returns:
      The minor.
    • setMinor

      public SourceInfo.Extension.Version.Builder setMinor(long value)
       Minor version changes must not change the observed behavior from
       existing implementations, but may be provided informationally.
       
      int64 minor = 2 [json_name = "minor"];
      Parameters:
      value - The minor to set.
      Returns:
      This builder for chaining.
    • clearMinor

       Minor version changes must not change the observed behavior from
       existing implementations, but may be provided informationally.
       
      int64 minor = 2 [json_name = "minor"];
      Returns:
      This builder for chaining.