public final class

DynamicProto.StateDurationSource

extends <any>

implements DynamicProto.StateDurationSourceOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.expression.proto.DynamicProto.StateDurationSource

Overview

 A dynamic Duration which sources its data from the a state entry.
 
Protobuf type androidx.wear.protolayout.expression.proto.StateDurationSource

Summary

Fields
public static final intSOURCE_KEY_FIELD_NUMBER

public static final intSOURCE_NAMESPACE_FIELD_NUMBER

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

public static DynamicProto.StateDurationSourcegetDefaultInstance()

public java.lang.StringgetSourceKey()

 The key in the state to bind to.

public com.google.protobuf.ByteStringgetSourceKeyBytes()

 The key in the state to bind to.

public java.lang.StringgetSourceNamespace()

 The namespace for the state key.

public com.google.protobuf.ByteStringgetSourceNamespaceBytes()

 The namespace for the state key.

public static DynamicProto.StateDurationSource.BuildernewBuilder()

public static DynamicProto.StateDurationSource.BuildernewBuilder(DynamicProto.StateDurationSource prototype)

public static DynamicProto.StateDurationSourceparseDelimitedFrom(java.io.InputStream input)

public static DynamicProto.StateDurationSourceparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.StateDurationSourceparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.StateDurationSourceparseFrom(java.nio.ByteBuffer data)

public static DynamicProto.StateDurationSourceparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.StateDurationSourceparseFrom(com.google.protobuf.ByteString data)

public static DynamicProto.StateDurationSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.StateDurationSourceparseFrom(com.google.protobuf.CodedInputStream input)

public static DynamicProto.StateDurationSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.StateDurationSourceparseFrom(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 SOURCE_KEY_FIELD_NUMBER

public static final int SOURCE_NAMESPACE_FIELD_NUMBER

Methods

public java.lang.String getSourceKey()

 The key in the state to bind to.
 
string source_key = 1;

Returns:

The sourceKey.

public com.google.protobuf.ByteString getSourceKeyBytes()

 The key in the state to bind to.
 
string source_key = 1;

Returns:

The bytes for sourceKey.

public java.lang.String getSourceNamespace()

 The namespace for the state key.
 
string source_namespace = 2;

Returns:

The sourceNamespace.

public com.google.protobuf.ByteString getSourceNamespaceBytes()

 The namespace for the state key.
 
string source_namespace = 2;

Returns:

The bytes for sourceNamespace.

public static DynamicProto.StateDurationSource parseFrom(java.nio.ByteBuffer data)

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

public static DynamicProto.StateDurationSource parseFrom(com.google.protobuf.ByteString data)

public static DynamicProto.StateDurationSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static DynamicProto.StateDurationSource parseDelimitedFrom(java.io.InputStream input)

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

public static DynamicProto.StateDurationSource parseFrom(com.google.protobuf.CodedInputStream input)

public static DynamicProto.StateDurationSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DynamicProto.StateDurationSource.Builder newBuilder()

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

public static DynamicProto.StateDurationSource getDefaultInstance()

public static <any> parser()