public final class

VersionProto.VersionInfo

extends <any>

implements VersionProto.VersionInfoOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.expression.proto.VersionProto.VersionInfo

Overview

 Version information. This is used to encode the schema version of a payload
 (e.g. inside of a layout).
 
Protobuf type androidx.wear.protolayout.expression.proto.VersionInfo

Summary

Fields
public static final intMAJOR_FIELD_NUMBER

public static final intMINOR_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static VersionProto.VersionInfogetDefaultInstance()

public intgetMajor()

 Major version.

public intgetMinor()

 Minor version.

public static VersionProto.VersionInfo.BuildernewBuilder()

public static VersionProto.VersionInfo.BuildernewBuilder(VersionProto.VersionInfo prototype)

public static VersionProto.VersionInfoparseDelimitedFrom(java.io.InputStream input)

public static VersionProto.VersionInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static VersionProto.VersionInfoparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static VersionProto.VersionInfoparseFrom(java.nio.ByteBuffer data)

public static VersionProto.VersionInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static VersionProto.VersionInfoparseFrom(com.google.protobuf.ByteString data)

public static VersionProto.VersionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static VersionProto.VersionInfoparseFrom(com.google.protobuf.CodedInputStream input)

public static VersionProto.VersionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static VersionProto.VersionInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int MAJOR_FIELD_NUMBER

public static final int MINOR_FIELD_NUMBER

Methods

public int getMajor()

 Major version. Incremented on breaking changes (i.e. compatibility is not
 guaranteed across major versions).
 
uint32 major = 1;

Returns:

The major.

public int getMinor()

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

Returns:

The minor.

public static VersionProto.VersionInfo parseFrom(java.nio.ByteBuffer data)

public static VersionProto.VersionInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static VersionProto.VersionInfo parseFrom(com.google.protobuf.ByteString data)

public static VersionProto.VersionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static VersionProto.VersionInfo parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static VersionProto.VersionInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static VersionProto.VersionInfo parseDelimitedFrom(java.io.InputStream input)

public static VersionProto.VersionInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static VersionProto.VersionInfo parseFrom(com.google.protobuf.CodedInputStream input)

public static VersionProto.VersionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static VersionProto.VersionInfo.Builder newBuilder()

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static VersionProto.VersionInfo getDefaultInstance()

public static <any> parser()