All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xmtp.proto.message.contents.Frames Maven / Gradle / Ivy

There is a newer version: 3.70.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: message_contents/frames.proto

package org.xmtp.proto.message.contents;

public final class Frames {
  private Frames() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  public interface FrameActionBodyOrBuilder extends
      // @@protoc_insertion_point(interface_extends:xmtp.message_contents.FrameActionBody)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * 
     * The URL of the frame that was clicked
     * May be different from `post_url`
     * 
* * string frame_url = 1; * @return The frameUrl. */ java.lang.String getFrameUrl(); /** *
     * The URL of the frame that was clicked
     * May be different from `post_url`
     * 
* * string frame_url = 1; * @return The bytes for frameUrl. */ com.google.protobuf.ByteString getFrameUrlBytes(); /** *
     * The 1-indexed button that was clicked
     * 
* * int32 button_index = 2; * @return The buttonIndex. */ int getButtonIndex(); /** *
     * Timestamp of the click in milliseconds since the epoch
     * 
* * uint64 timestamp = 3 [deprecated = true]; * @deprecated xmtp.message_contents.FrameActionBody.timestamp is deprecated. * See message_contents/frames.proto;l=20 * @return The timestamp. */ @java.lang.Deprecated long getTimestamp(); /** *
     * A unique identifier for the conversation, not tied to anything on the
     * network. Will not match the topic or conversation_id
     * 
* * string opaque_conversation_identifier = 4; * @return The opaqueConversationIdentifier. */ java.lang.String getOpaqueConversationIdentifier(); /** *
     * A unique identifier for the conversation, not tied to anything on the
     * network. Will not match the topic or conversation_id
     * 
* * string opaque_conversation_identifier = 4; * @return The bytes for opaqueConversationIdentifier. */ com.google.protobuf.ByteString getOpaqueConversationIdentifierBytes(); /** *
     * Unix timestamp
     * 
* * uint32 unix_timestamp = 5; * @return The unixTimestamp. */ int getUnixTimestamp(); /** *
     * Input text from a text input field
     * 
* * string input_text = 6; * @return The inputText. */ java.lang.String getInputText(); /** *
     * Input text from a text input field
     * 
* * string input_text = 6; * @return The bytes for inputText. */ com.google.protobuf.ByteString getInputTextBytes(); /** *
     * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
     * 
* * string state = 7; * @return The state. */ java.lang.String getState(); /** *
     * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
     * 
* * string state = 7; * @return The bytes for state. */ com.google.protobuf.ByteString getStateBytes(); } /** *
   * The message that will be signed by the Client and returned inside the
   * `action_body` field of the FrameAction message
   * 
* * Protobuf type {@code xmtp.message_contents.FrameActionBody} */ public static final class FrameActionBody extends com.google.protobuf.GeneratedMessageLite< FrameActionBody, FrameActionBody.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.message_contents.FrameActionBody) FrameActionBodyOrBuilder { private FrameActionBody() { frameUrl_ = ""; opaqueConversationIdentifier_ = ""; inputText_ = ""; state_ = ""; } public static final int FRAME_URL_FIELD_NUMBER = 1; private java.lang.String frameUrl_; /** *
     * The URL of the frame that was clicked
     * May be different from `post_url`
     * 
* * string frame_url = 1; * @return The frameUrl. */ @java.lang.Override public java.lang.String getFrameUrl() { return frameUrl_; } /** *
     * The URL of the frame that was clicked
     * May be different from `post_url`
     * 
* * string frame_url = 1; * @return The bytes for frameUrl. */ @java.lang.Override public com.google.protobuf.ByteString getFrameUrlBytes() { return com.google.protobuf.ByteString.copyFromUtf8(frameUrl_); } /** *
     * The URL of the frame that was clicked
     * May be different from `post_url`
     * 
* * string frame_url = 1; * @param value The frameUrl to set. */ private void setFrameUrl( java.lang.String value) { java.lang.Class valueClass = value.getClass(); frameUrl_ = value; } /** *
     * The URL of the frame that was clicked
     * May be different from `post_url`
     * 
* * string frame_url = 1; */ private void clearFrameUrl() { frameUrl_ = getDefaultInstance().getFrameUrl(); } /** *
     * The URL of the frame that was clicked
     * May be different from `post_url`
     * 
* * string frame_url = 1; * @param value The bytes for frameUrl to set. */ private void setFrameUrlBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); frameUrl_ = value.toStringUtf8(); } public static final int BUTTON_INDEX_FIELD_NUMBER = 2; private int buttonIndex_; /** *
     * The 1-indexed button that was clicked
     * 
* * int32 button_index = 2; * @return The buttonIndex. */ @java.lang.Override public int getButtonIndex() { return buttonIndex_; } /** *
     * The 1-indexed button that was clicked
     * 
* * int32 button_index = 2; * @param value The buttonIndex to set. */ private void setButtonIndex(int value) { buttonIndex_ = value; } /** *
     * The 1-indexed button that was clicked
     * 
* * int32 button_index = 2; */ private void clearButtonIndex() { buttonIndex_ = 0; } public static final int TIMESTAMP_FIELD_NUMBER = 3; private long timestamp_; /** *
     * Timestamp of the click in milliseconds since the epoch
     * 
* * uint64 timestamp = 3 [deprecated = true]; * @deprecated xmtp.message_contents.FrameActionBody.timestamp is deprecated. * See message_contents/frames.proto;l=20 * @return The timestamp. */ @java.lang.Override @java.lang.Deprecated public long getTimestamp() { return timestamp_; } /** *
     * Timestamp of the click in milliseconds since the epoch
     * 
* * uint64 timestamp = 3 [deprecated = true]; * @deprecated xmtp.message_contents.FrameActionBody.timestamp is deprecated. * See message_contents/frames.proto;l=20 * @param value The timestamp to set. */ private void setTimestamp(long value) { timestamp_ = value; } /** *
     * Timestamp of the click in milliseconds since the epoch
     * 
* * uint64 timestamp = 3 [deprecated = true]; * @deprecated xmtp.message_contents.FrameActionBody.timestamp is deprecated. * See message_contents/frames.proto;l=20 */ private void clearTimestamp() { timestamp_ = 0L; } public static final int OPAQUE_CONVERSATION_IDENTIFIER_FIELD_NUMBER = 4; private java.lang.String opaqueConversationIdentifier_; /** *
     * A unique identifier for the conversation, not tied to anything on the
     * network. Will not match the topic or conversation_id
     * 
* * string opaque_conversation_identifier = 4; * @return The opaqueConversationIdentifier. */ @java.lang.Override public java.lang.String getOpaqueConversationIdentifier() { return opaqueConversationIdentifier_; } /** *
     * A unique identifier for the conversation, not tied to anything on the
     * network. Will not match the topic or conversation_id
     * 
* * string opaque_conversation_identifier = 4; * @return The bytes for opaqueConversationIdentifier. */ @java.lang.Override public com.google.protobuf.ByteString getOpaqueConversationIdentifierBytes() { return com.google.protobuf.ByteString.copyFromUtf8(opaqueConversationIdentifier_); } /** *
     * A unique identifier for the conversation, not tied to anything on the
     * network. Will not match the topic or conversation_id
     * 
* * string opaque_conversation_identifier = 4; * @param value The opaqueConversationIdentifier to set. */ private void setOpaqueConversationIdentifier( java.lang.String value) { java.lang.Class valueClass = value.getClass(); opaqueConversationIdentifier_ = value; } /** *
     * A unique identifier for the conversation, not tied to anything on the
     * network. Will not match the topic or conversation_id
     * 
* * string opaque_conversation_identifier = 4; */ private void clearOpaqueConversationIdentifier() { opaqueConversationIdentifier_ = getDefaultInstance().getOpaqueConversationIdentifier(); } /** *
     * A unique identifier for the conversation, not tied to anything on the
     * network. Will not match the topic or conversation_id
     * 
* * string opaque_conversation_identifier = 4; * @param value The bytes for opaqueConversationIdentifier to set. */ private void setOpaqueConversationIdentifierBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); opaqueConversationIdentifier_ = value.toStringUtf8(); } public static final int UNIX_TIMESTAMP_FIELD_NUMBER = 5; private int unixTimestamp_; /** *
     * Unix timestamp
     * 
* * uint32 unix_timestamp = 5; * @return The unixTimestamp. */ @java.lang.Override public int getUnixTimestamp() { return unixTimestamp_; } /** *
     * Unix timestamp
     * 
* * uint32 unix_timestamp = 5; * @param value The unixTimestamp to set. */ private void setUnixTimestamp(int value) { unixTimestamp_ = value; } /** *
     * Unix timestamp
     * 
* * uint32 unix_timestamp = 5; */ private void clearUnixTimestamp() { unixTimestamp_ = 0; } public static final int INPUT_TEXT_FIELD_NUMBER = 6; private java.lang.String inputText_; /** *
     * Input text from a text input field
     * 
* * string input_text = 6; * @return The inputText. */ @java.lang.Override public java.lang.String getInputText() { return inputText_; } /** *
     * Input text from a text input field
     * 
* * string input_text = 6; * @return The bytes for inputText. */ @java.lang.Override public com.google.protobuf.ByteString getInputTextBytes() { return com.google.protobuf.ByteString.copyFromUtf8(inputText_); } /** *
     * Input text from a text input field
     * 
* * string input_text = 6; * @param value The inputText to set. */ private void setInputText( java.lang.String value) { java.lang.Class valueClass = value.getClass(); inputText_ = value; } /** *
     * Input text from a text input field
     * 
* * string input_text = 6; */ private void clearInputText() { inputText_ = getDefaultInstance().getInputText(); } /** *
     * Input text from a text input field
     * 
* * string input_text = 6; * @param value The bytes for inputText to set. */ private void setInputTextBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); inputText_ = value.toStringUtf8(); } public static final int STATE_FIELD_NUMBER = 7; private java.lang.String state_; /** *
     * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
     * 
* * string state = 7; * @return The state. */ @java.lang.Override public java.lang.String getState() { return state_; } /** *
     * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
     * 
* * string state = 7; * @return The bytes for state. */ @java.lang.Override public com.google.protobuf.ByteString getStateBytes() { return com.google.protobuf.ByteString.copyFromUtf8(state_); } /** *
     * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
     * 
* * string state = 7; * @param value The state to set. */ private void setState( java.lang.String value) { java.lang.Class valueClass = value.getClass(); state_ = value; } /** *
     * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
     * 
* * string state = 7; */ private void clearState() { state_ = getDefaultInstance().getState(); } /** *
     * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
     * 
* * string state = 7; * @param value The bytes for state to set. */ private void setStateBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); state_ = value.toStringUtf8(); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(org.xmtp.proto.message.contents.Frames.FrameActionBody prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * The message that will be signed by the Client and returned inside the
     * `action_body` field of the FrameAction message
     * 
* * Protobuf type {@code xmtp.message_contents.FrameActionBody} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.message.contents.Frames.FrameActionBody, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.message_contents.FrameActionBody) org.xmtp.proto.message.contents.Frames.FrameActionBodyOrBuilder { // Construct using org.xmtp.proto.message.contents.Frames.FrameActionBody.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * The URL of the frame that was clicked
       * May be different from `post_url`
       * 
* * string frame_url = 1; * @return The frameUrl. */ @java.lang.Override public java.lang.String getFrameUrl() { return instance.getFrameUrl(); } /** *
       * The URL of the frame that was clicked
       * May be different from `post_url`
       * 
* * string frame_url = 1; * @return The bytes for frameUrl. */ @java.lang.Override public com.google.protobuf.ByteString getFrameUrlBytes() { return instance.getFrameUrlBytes(); } /** *
       * The URL of the frame that was clicked
       * May be different from `post_url`
       * 
* * string frame_url = 1; * @param value The frameUrl to set. * @return This builder for chaining. */ public Builder setFrameUrl( java.lang.String value) { copyOnWrite(); instance.setFrameUrl(value); return this; } /** *
       * The URL of the frame that was clicked
       * May be different from `post_url`
       * 
* * string frame_url = 1; * @return This builder for chaining. */ public Builder clearFrameUrl() { copyOnWrite(); instance.clearFrameUrl(); return this; } /** *
       * The URL of the frame that was clicked
       * May be different from `post_url`
       * 
* * string frame_url = 1; * @param value The bytes for frameUrl to set. * @return This builder for chaining. */ public Builder setFrameUrlBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setFrameUrlBytes(value); return this; } /** *
       * The 1-indexed button that was clicked
       * 
* * int32 button_index = 2; * @return The buttonIndex. */ @java.lang.Override public int getButtonIndex() { return instance.getButtonIndex(); } /** *
       * The 1-indexed button that was clicked
       * 
* * int32 button_index = 2; * @param value The buttonIndex to set. * @return This builder for chaining. */ public Builder setButtonIndex(int value) { copyOnWrite(); instance.setButtonIndex(value); return this; } /** *
       * The 1-indexed button that was clicked
       * 
* * int32 button_index = 2; * @return This builder for chaining. */ public Builder clearButtonIndex() { copyOnWrite(); instance.clearButtonIndex(); return this; } /** *
       * Timestamp of the click in milliseconds since the epoch
       * 
* * uint64 timestamp = 3 [deprecated = true]; * @deprecated xmtp.message_contents.FrameActionBody.timestamp is deprecated. * See message_contents/frames.proto;l=20 * @return The timestamp. */ @java.lang.Override @java.lang.Deprecated public long getTimestamp() { return instance.getTimestamp(); } /** *
       * Timestamp of the click in milliseconds since the epoch
       * 
* * uint64 timestamp = 3 [deprecated = true]; * @deprecated xmtp.message_contents.FrameActionBody.timestamp is deprecated. * See message_contents/frames.proto;l=20 * @param value The timestamp to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setTimestamp(long value) { copyOnWrite(); instance.setTimestamp(value); return this; } /** *
       * Timestamp of the click in milliseconds since the epoch
       * 
* * uint64 timestamp = 3 [deprecated = true]; * @deprecated xmtp.message_contents.FrameActionBody.timestamp is deprecated. * See message_contents/frames.proto;l=20 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearTimestamp() { copyOnWrite(); instance.clearTimestamp(); return this; } /** *
       * A unique identifier for the conversation, not tied to anything on the
       * network. Will not match the topic or conversation_id
       * 
* * string opaque_conversation_identifier = 4; * @return The opaqueConversationIdentifier. */ @java.lang.Override public java.lang.String getOpaqueConversationIdentifier() { return instance.getOpaqueConversationIdentifier(); } /** *
       * A unique identifier for the conversation, not tied to anything on the
       * network. Will not match the topic or conversation_id
       * 
* * string opaque_conversation_identifier = 4; * @return The bytes for opaqueConversationIdentifier. */ @java.lang.Override public com.google.protobuf.ByteString getOpaqueConversationIdentifierBytes() { return instance.getOpaqueConversationIdentifierBytes(); } /** *
       * A unique identifier for the conversation, not tied to anything on the
       * network. Will not match the topic or conversation_id
       * 
* * string opaque_conversation_identifier = 4; * @param value The opaqueConversationIdentifier to set. * @return This builder for chaining. */ public Builder setOpaqueConversationIdentifier( java.lang.String value) { copyOnWrite(); instance.setOpaqueConversationIdentifier(value); return this; } /** *
       * A unique identifier for the conversation, not tied to anything on the
       * network. Will not match the topic or conversation_id
       * 
* * string opaque_conversation_identifier = 4; * @return This builder for chaining. */ public Builder clearOpaqueConversationIdentifier() { copyOnWrite(); instance.clearOpaqueConversationIdentifier(); return this; } /** *
       * A unique identifier for the conversation, not tied to anything on the
       * network. Will not match the topic or conversation_id
       * 
* * string opaque_conversation_identifier = 4; * @param value The bytes for opaqueConversationIdentifier to set. * @return This builder for chaining. */ public Builder setOpaqueConversationIdentifierBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setOpaqueConversationIdentifierBytes(value); return this; } /** *
       * Unix timestamp
       * 
* * uint32 unix_timestamp = 5; * @return The unixTimestamp. */ @java.lang.Override public int getUnixTimestamp() { return instance.getUnixTimestamp(); } /** *
       * Unix timestamp
       * 
* * uint32 unix_timestamp = 5; * @param value The unixTimestamp to set. * @return This builder for chaining. */ public Builder setUnixTimestamp(int value) { copyOnWrite(); instance.setUnixTimestamp(value); return this; } /** *
       * Unix timestamp
       * 
* * uint32 unix_timestamp = 5; * @return This builder for chaining. */ public Builder clearUnixTimestamp() { copyOnWrite(); instance.clearUnixTimestamp(); return this; } /** *
       * Input text from a text input field
       * 
* * string input_text = 6; * @return The inputText. */ @java.lang.Override public java.lang.String getInputText() { return instance.getInputText(); } /** *
       * Input text from a text input field
       * 
* * string input_text = 6; * @return The bytes for inputText. */ @java.lang.Override public com.google.protobuf.ByteString getInputTextBytes() { return instance.getInputTextBytes(); } /** *
       * Input text from a text input field
       * 
* * string input_text = 6; * @param value The inputText to set. * @return This builder for chaining. */ public Builder setInputText( java.lang.String value) { copyOnWrite(); instance.setInputText(value); return this; } /** *
       * Input text from a text input field
       * 
* * string input_text = 6; * @return This builder for chaining. */ public Builder clearInputText() { copyOnWrite(); instance.clearInputText(); return this; } /** *
       * Input text from a text input field
       * 
* * string input_text = 6; * @param value The bytes for inputText to set. * @return This builder for chaining. */ public Builder setInputTextBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setInputTextBytes(value); return this; } /** *
       * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
       * 
* * string state = 7; * @return The state. */ @java.lang.Override public java.lang.String getState() { return instance.getState(); } /** *
       * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
       * 
* * string state = 7; * @return The bytes for state. */ @java.lang.Override public com.google.protobuf.ByteString getStateBytes() { return instance.getStateBytes(); } /** *
       * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
       * 
* * string state = 7; * @param value The state to set. * @return This builder for chaining. */ public Builder setState( java.lang.String value) { copyOnWrite(); instance.setState(value); return this; } /** *
       * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
       * 
* * string state = 7; * @return This builder for chaining. */ public Builder clearState() { copyOnWrite(); instance.clearState(); return this; } /** *
       * A state serialized to a string (for example via JSON.stringify()). Maximum 4096 bytes.
       * 
* * string state = 7; * @param value The bytes for state to set. * @return This builder for chaining. */ public Builder setStateBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setStateBytes(value); return this; } // @@protoc_insertion_point(builder_scope:xmtp.message_contents.FrameActionBody) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new org.xmtp.proto.message.contents.Frames.FrameActionBody(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "frameUrl_", "buttonIndex_", "timestamp_", "opaqueConversationIdentifier_", "unixTimestamp_", "inputText_", "state_", }; java.lang.String info = "\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0000\u0000\u0001\u0208\u0002\u0004" + "\u0003\u0003\u0004\u0208\u0005\u000b\u0006\u0208\u0007\u0208"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (org.xmtp.proto.message.contents.Frames.FrameActionBody.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:xmtp.message_contents.FrameActionBody) private static final org.xmtp.proto.message.contents.Frames.FrameActionBody DEFAULT_INSTANCE; static { FrameActionBody defaultInstance = new FrameActionBody(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( FrameActionBody.class, defaultInstance); } public static org.xmtp.proto.message.contents.Frames.FrameActionBody getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface FrameActionOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.message_contents.FrameAction) com.google.protobuf.MessageLiteOrBuilder { /** * .xmtp.message_contents.Signature signature = 1; * @return Whether the signature field is set. */ boolean hasSignature(); /** * .xmtp.message_contents.Signature signature = 1; * @return The signature. */ org.xmtp.proto.message.contents.SignatureOuterClass.Signature getSignature(); /** *
     * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
     * with a blockchain account through a chain of signatures.
     * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; * @return Whether the signedPublicKeyBundle field is set. */ boolean hasSignedPublicKeyBundle(); /** *
     * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
     * with a blockchain account through a chain of signatures.
     * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; * @return The signedPublicKeyBundle. */ org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle getSignedPublicKeyBundle(); /** *
     * Serialized FrameActionBody message, so that the signature verification can
     * happen on a byte-perfect representation of the message
     * 
* * bytes action_body = 3; * @return The actionBody. */ com.google.protobuf.ByteString getActionBody(); } /** *
   * The outer payload that will be sent as the `messageBytes` in the
   * `trusted_data` part of the Frames message
   * 
* * Protobuf type {@code xmtp.message_contents.FrameAction} */ public static final class FrameAction extends com.google.protobuf.GeneratedMessageLite< FrameAction, FrameAction.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.message_contents.FrameAction) FrameActionOrBuilder { private FrameAction() { actionBody_ = com.google.protobuf.ByteString.EMPTY; } public static final int SIGNATURE_FIELD_NUMBER = 1; private org.xmtp.proto.message.contents.SignatureOuterClass.Signature signature_; /** * .xmtp.message_contents.Signature signature = 1; */ @java.lang.Override public boolean hasSignature() { return signature_ != null; } /** * .xmtp.message_contents.Signature signature = 1; */ @java.lang.Override public org.xmtp.proto.message.contents.SignatureOuterClass.Signature getSignature() { return signature_ == null ? org.xmtp.proto.message.contents.SignatureOuterClass.Signature.getDefaultInstance() : signature_; } /** * .xmtp.message_contents.Signature signature = 1; */ private void setSignature(org.xmtp.proto.message.contents.SignatureOuterClass.Signature value) { value.getClass(); signature_ = value; } /** * .xmtp.message_contents.Signature signature = 1; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeSignature(org.xmtp.proto.message.contents.SignatureOuterClass.Signature value) { value.getClass(); if (signature_ != null && signature_ != org.xmtp.proto.message.contents.SignatureOuterClass.Signature.getDefaultInstance()) { signature_ = org.xmtp.proto.message.contents.SignatureOuterClass.Signature.newBuilder(signature_).mergeFrom(value).buildPartial(); } else { signature_ = value; } } /** * .xmtp.message_contents.Signature signature = 1; */ private void clearSignature() { signature_ = null; } public static final int SIGNED_PUBLIC_KEY_BUNDLE_FIELD_NUMBER = 2; private org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle signedPublicKeyBundle_; /** *
     * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
     * with a blockchain account through a chain of signatures.
     * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; */ @java.lang.Override public boolean hasSignedPublicKeyBundle() { return signedPublicKeyBundle_ != null; } /** *
     * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
     * with a blockchain account through a chain of signatures.
     * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; */ @java.lang.Override public org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle getSignedPublicKeyBundle() { return signedPublicKeyBundle_ == null ? org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle.getDefaultInstance() : signedPublicKeyBundle_; } /** *
     * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
     * with a blockchain account through a chain of signatures.
     * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; */ private void setSignedPublicKeyBundle(org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle value) { value.getClass(); signedPublicKeyBundle_ = value; } /** *
     * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
     * with a blockchain account through a chain of signatures.
     * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeSignedPublicKeyBundle(org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle value) { value.getClass(); if (signedPublicKeyBundle_ != null && signedPublicKeyBundle_ != org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle.getDefaultInstance()) { signedPublicKeyBundle_ = org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle.newBuilder(signedPublicKeyBundle_).mergeFrom(value).buildPartial(); } else { signedPublicKeyBundle_ = value; } } /** *
     * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
     * with a blockchain account through a chain of signatures.
     * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; */ private void clearSignedPublicKeyBundle() { signedPublicKeyBundle_ = null; } public static final int ACTION_BODY_FIELD_NUMBER = 3; private com.google.protobuf.ByteString actionBody_; /** *
     * Serialized FrameActionBody message, so that the signature verification can
     * happen on a byte-perfect representation of the message
     * 
* * bytes action_body = 3; * @return The actionBody. */ @java.lang.Override public com.google.protobuf.ByteString getActionBody() { return actionBody_; } /** *
     * Serialized FrameActionBody message, so that the signature verification can
     * happen on a byte-perfect representation of the message
     * 
* * bytes action_body = 3; * @param value The actionBody to set. */ private void setActionBody(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); actionBody_ = value; } /** *
     * Serialized FrameActionBody message, so that the signature verification can
     * happen on a byte-perfect representation of the message
     * 
* * bytes action_body = 3; */ private void clearActionBody() { actionBody_ = getDefaultInstance().getActionBody(); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static org.xmtp.proto.message.contents.Frames.FrameAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(org.xmtp.proto.message.contents.Frames.FrameAction prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * The outer payload that will be sent as the `messageBytes` in the
     * `trusted_data` part of the Frames message
     * 
* * Protobuf type {@code xmtp.message_contents.FrameAction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.message.contents.Frames.FrameAction, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.message_contents.FrameAction) org.xmtp.proto.message.contents.Frames.FrameActionOrBuilder { // Construct using org.xmtp.proto.message.contents.Frames.FrameAction.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * .xmtp.message_contents.Signature signature = 1; */ @java.lang.Override public boolean hasSignature() { return instance.hasSignature(); } /** * .xmtp.message_contents.Signature signature = 1; */ @java.lang.Override public org.xmtp.proto.message.contents.SignatureOuterClass.Signature getSignature() { return instance.getSignature(); } /** * .xmtp.message_contents.Signature signature = 1; */ public Builder setSignature(org.xmtp.proto.message.contents.SignatureOuterClass.Signature value) { copyOnWrite(); instance.setSignature(value); return this; } /** * .xmtp.message_contents.Signature signature = 1; */ public Builder setSignature( org.xmtp.proto.message.contents.SignatureOuterClass.Signature.Builder builderForValue) { copyOnWrite(); instance.setSignature(builderForValue.build()); return this; } /** * .xmtp.message_contents.Signature signature = 1; */ public Builder mergeSignature(org.xmtp.proto.message.contents.SignatureOuterClass.Signature value) { copyOnWrite(); instance.mergeSignature(value); return this; } /** * .xmtp.message_contents.Signature signature = 1; */ public Builder clearSignature() { copyOnWrite(); instance.clearSignature(); return this; } /** *
       * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
       * with a blockchain account through a chain of signatures.
       * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; */ @java.lang.Override public boolean hasSignedPublicKeyBundle() { return instance.hasSignedPublicKeyBundle(); } /** *
       * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
       * with a blockchain account through a chain of signatures.
       * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; */ @java.lang.Override public org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle getSignedPublicKeyBundle() { return instance.getSignedPublicKeyBundle(); } /** *
       * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
       * with a blockchain account through a chain of signatures.
       * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; */ public Builder setSignedPublicKeyBundle(org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle value) { copyOnWrite(); instance.setSignedPublicKeyBundle(value); return this; } /** *
       * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
       * with a blockchain account through a chain of signatures.
       * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; */ public Builder setSignedPublicKeyBundle( org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle.Builder builderForValue) { copyOnWrite(); instance.setSignedPublicKeyBundle(builderForValue.build()); return this; } /** *
       * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
       * with a blockchain account through a chain of signatures.
       * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; */ public Builder mergeSignedPublicKeyBundle(org.xmtp.proto.message.contents.PublicKeyOuterClass.SignedPublicKeyBundle value) { copyOnWrite(); instance.mergeSignedPublicKeyBundle(value); return this; } /** *
       * The SignedPublicKeyBundle of the signer, used to link the XMTP signature
       * with a blockchain account through a chain of signatures.
       * 
* * .xmtp.message_contents.SignedPublicKeyBundle signed_public_key_bundle = 2; */ public Builder clearSignedPublicKeyBundle() { copyOnWrite(); instance.clearSignedPublicKeyBundle(); return this; } /** *
       * Serialized FrameActionBody message, so that the signature verification can
       * happen on a byte-perfect representation of the message
       * 
* * bytes action_body = 3; * @return The actionBody. */ @java.lang.Override public com.google.protobuf.ByteString getActionBody() { return instance.getActionBody(); } /** *
       * Serialized FrameActionBody message, so that the signature verification can
       * happen on a byte-perfect representation of the message
       * 
* * bytes action_body = 3; * @param value The actionBody to set. * @return This builder for chaining. */ public Builder setActionBody(com.google.protobuf.ByteString value) { copyOnWrite(); instance.setActionBody(value); return this; } /** *
       * Serialized FrameActionBody message, so that the signature verification can
       * happen on a byte-perfect representation of the message
       * 
* * bytes action_body = 3; * @return This builder for chaining. */ public Builder clearActionBody() { copyOnWrite(); instance.clearActionBody(); return this; } // @@protoc_insertion_point(builder_scope:xmtp.message_contents.FrameAction) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new org.xmtp.proto.message.contents.Frames.FrameAction(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "signature_", "signedPublicKeyBundle_", "actionBody_", }; java.lang.String info = "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\t\u0002\t\u0003" + "\n"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (org.xmtp.proto.message.contents.Frames.FrameAction.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:xmtp.message_contents.FrameAction) private static final org.xmtp.proto.message.contents.Frames.FrameAction DEFAULT_INSTANCE; static { FrameAction defaultInstance = new FrameAction(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( FrameAction.class, defaultInstance); } public static org.xmtp.proto.message.contents.Frames.FrameAction getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } static { } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy