public final class

DynamicProto.GetDurationPartOp.Builder

extends <any>

implements DynamicProto.GetDurationPartOpOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public DynamicProto.GetDurationPartOp.BuilderclearDurationPart()

 The duration part to retrieve.

public DynamicProto.GetDurationPartOp.BuilderclearInput()

 The duration input.

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 DynamicProto.GetDurationPartOp.BuildermergeInput(DynamicProto.DynamicDuration value)

 The duration input.

public DynamicProto.GetDurationPartOp.BuildersetDurationPart(DynamicProto.DurationPartType value)

 The duration part to retrieve.

public DynamicProto.GetDurationPartOp.BuildersetDurationPartValue(int value)

 The duration part to retrieve.

public DynamicProto.GetDurationPartOp.BuildersetInput(DynamicProto.DynamicDuration.Builder builderForValue)

 The duration input.

public DynamicProto.GetDurationPartOp.BuildersetInput(DynamicProto.DynamicDuration value)

 The duration input.

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

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;

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

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

 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.GetDurationPartOp.Builder setDurationPartValue(int value)

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

Parameters:

value: The durationPart to set.

Returns:

This builder for chaining.

public DynamicProto.DurationPartType getDurationPart()

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

Returns:

The durationPart.

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

Parameters:

value: The enum numeric value on the wire for durationPart to set.

Returns:

This builder for chaining.

public DynamicProto.GetDurationPartOp.Builder clearDurationPart()

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

Returns:

This builder for chaining.