public final class

VersionBuilders.VersionInfo.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.expression.VersionBuilders.VersionInfo.Builder

Overview

Builder for VersionBuilders.VersionInfo

Summary

Constructors
publicBuilder()

Methods
public VersionBuilders.VersionInfobuild()

Builds an instance from accumulated values.

public VersionBuilders.VersionInfo.BuildersetMajor(int major)

Sets major version.

public VersionBuilders.VersionInfo.BuildersetMinor(int minor)

Sets minor version.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Methods

public VersionBuilders.VersionInfo.Builder setMajor(int major)

Sets major version. Incremented on breaking changes (i.e. compatibility is not guaranteed across major versions).

public VersionBuilders.VersionInfo.Builder setMinor(int minor)

Sets minor version. Incremented on non-breaking changes (e.g. schema additions). Anything consuming a payload can safely consume anything with a lower minor version.

Builds an instance from accumulated values.