public final class

TriggerProto.Trigger

extends <any>

implements TriggerProto.TriggerOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.TriggerProto.Trigger

Overview

 The triggers that can be fired. These triggers can be used to allow acting on
 events. For example some animations can be set to start based on a trigger.
 
Protobuf type androidx.wear.protolayout.proto.Trigger

Summary

Fields
public static final intON_CONDITION_MET_TRIGGER_FIELD_NUMBER

public static final intON_LOAD_TRIGGER_FIELD_NUMBER

public static final intON_VISIBLE_ONCE_TRIGGER_FIELD_NUMBER

public static final intON_VISIBLE_TRIGGER_FIELD_NUMBER

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

public static TriggerProto.TriggergetDefaultInstance()

public TriggerProto.Trigger.InnerCasegetInnerCase()

public TriggerProto.OnConditionMetTriggergetOnConditionMetTrigger()

.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;

public TriggerProto.OnLoadTriggergetOnLoadTrigger()

.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;

public TriggerProto.OnVisibleOnceTriggergetOnVisibleOnceTrigger()

.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;

public TriggerProto.OnVisibleTriggergetOnVisibleTrigger()

.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;

public booleanhasOnConditionMetTrigger()

.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;

public booleanhasOnLoadTrigger()

.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;

public booleanhasOnVisibleOnceTrigger()

.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;

public booleanhasOnVisibleTrigger()

.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;

public static TriggerProto.Trigger.BuildernewBuilder()

public static TriggerProto.Trigger.BuildernewBuilder(TriggerProto.Trigger prototype)

public static TriggerProto.TriggerparseDelimitedFrom(java.io.InputStream input)

public static TriggerProto.TriggerparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TriggerProto.TriggerparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TriggerProto.TriggerparseFrom(java.nio.ByteBuffer data)

public static TriggerProto.TriggerparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TriggerProto.TriggerparseFrom(com.google.protobuf.ByteString data)

public static TriggerProto.TriggerparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TriggerProto.TriggerparseFrom(com.google.protobuf.CodedInputStream input)

public static TriggerProto.TriggerparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TriggerProto.TriggerparseFrom(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 ON_VISIBLE_TRIGGER_FIELD_NUMBER

public static final int ON_VISIBLE_ONCE_TRIGGER_FIELD_NUMBER

public static final int ON_LOAD_TRIGGER_FIELD_NUMBER

public static final int ON_CONDITION_MET_TRIGGER_FIELD_NUMBER

Methods

public TriggerProto.Trigger.InnerCase getInnerCase()

public boolean hasOnVisibleTrigger()

.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;

public TriggerProto.OnVisibleTrigger getOnVisibleTrigger()

.androidx.wear.protolayout.proto.OnVisibleTrigger on_visible_trigger = 1;

public boolean hasOnVisibleOnceTrigger()

.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;

public TriggerProto.OnVisibleOnceTrigger getOnVisibleOnceTrigger()

.androidx.wear.protolayout.proto.OnVisibleOnceTrigger on_visible_once_trigger = 2;

public boolean hasOnLoadTrigger()

.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;

public TriggerProto.OnLoadTrigger getOnLoadTrigger()

.androidx.wear.protolayout.proto.OnLoadTrigger on_load_trigger = 3;

public boolean hasOnConditionMetTrigger()

.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;

public TriggerProto.OnConditionMetTrigger getOnConditionMetTrigger()

.androidx.wear.protolayout.proto.OnConditionMetTrigger on_condition_met_trigger = 4;

public static TriggerProto.Trigger parseFrom(java.nio.ByteBuffer data)

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

public static TriggerProto.Trigger parseFrom(com.google.protobuf.ByteString data)

public static TriggerProto.Trigger parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static TriggerProto.Trigger parseDelimitedFrom(java.io.InputStream input)

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

public static TriggerProto.Trigger parseFrom(com.google.protobuf.CodedInputStream input)

public static TriggerProto.Trigger parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static TriggerProto.Trigger.Builder newBuilder()

public static TriggerProto.Trigger.Builder newBuilder(TriggerProto.Trigger prototype)

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

public static TriggerProto.Trigger getDefaultInstance()

public static <any> parser()