public final class

DynamicProto.GetDurationPartOp

extends <any>

implements DynamicProto.GetDurationPartOpOrBuilder

 java.lang.Object

↳<any>

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

Overview

 Retrieve the specified duration part of a DynamicDuration instance as a
 DynamicInt32.
 
Protobuf type androidx.wear.protolayout.expression.proto.GetDurationPartOp

Summary

Fields
public static final intDURATION_PART_FIELD_NUMBER

public static final intINPUT_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.GetDurationPartOpgetDefaultInstance()

public DynamicProto.DurationPartTypegetDurationPart()

 The duration part to retrieve.

public intgetDurationPartValue()

 The duration part to retrieve.

public DynamicProto.DynamicDurationgetInput()

 The duration input.

public booleanhasInput()

 The duration input.

public static DynamicProto.GetDurationPartOp.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static DynamicProto.GetDurationPartOpparseFrom(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 INPUT_FIELD_NUMBER

public static final int DURATION_PART_FIELD_NUMBER

Methods

public boolean hasInput()

 The duration input.
 
.androidx.wear.protolayout.expression.proto.DynamicDuration input = 1;

 The duration input.
 
.androidx.wear.protolayout.expression.proto.DynamicDuration input = 1;

public int getDurationPartValue()

 The duration part to retrieve.
 
.androidx.wear.protolayout.expression.proto.DurationPartType duration_part = 2;

Returns:

The enum numeric value on the wire for durationPart.

public DynamicProto.DurationPartType getDurationPart()

 The duration part to retrieve.
 
.androidx.wear.protolayout.expression.proto.DurationPartType duration_part = 2;

Returns:

The durationPart.

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

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

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

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

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

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

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

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

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

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

public static DynamicProto.GetDurationPartOp.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.GetDurationPartOp getDefaultInstance()

public static <any> parser()