Class ScriptListResponse.Script

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.ScriptListResponse.Script
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScriptListResponse.ScriptOrBuilder, Serializable
Enclosing class:
ScriptListResponse

public static final class ScriptListResponse.Script extends com.google.protobuf.GeneratedMessage implements ScriptListResponse.ScriptOrBuilder
Protobuf type soulfire.v1.ScriptListResponse.Script
See Also:
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • SCRIPT_NAME_FIELD_NUMBER

      public static final int SCRIPT_NAME_FIELD_NUMBER
      See Also:
    • ELEVATED_PERMISSIONS_FIELD_NUMBER

      public static final int ELEVATED_PERMISSIONS_FIELD_NUMBER
      See Also:
    • LANGUAGE_FIELD_NUMBER

      public static final int LANGUAGE_FIELD_NUMBER
      See Also:
    • CREATED_AT_FIELD_NUMBER

      public static final int CREATED_AT_FIELD_NUMBER
      See Also:
    • UPDATED_AT_FIELD_NUMBER

      public static final int UPDATED_AT_FIELD_NUMBER
      See Also:
    • SCRIPT_SCOPE_FIELD_NUMBER

      public static final int SCRIPT_SCOPE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getId

      public String getId()
      string id = 1;
      Specified by:
      getId in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1;
      Specified by:
      getIdBytes in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      The bytes for id.
    • getScriptName

      public String getScriptName()
      string script_name = 2;
      Specified by:
      getScriptName in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      The scriptName.
    • getScriptNameBytes

      public com.google.protobuf.ByteString getScriptNameBytes()
      string script_name = 2;
      Specified by:
      getScriptNameBytes in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      The bytes for scriptName.
    • getElevatedPermissions

      public boolean getElevatedPermissions()
      bool elevated_permissions = 3;
      Specified by:
      getElevatedPermissions in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      The elevatedPermissions.
    • getLanguageValue

      public int getLanguageValue()
      .soulfire.v1.ScriptLanguage language = 4;
      Specified by:
      getLanguageValue in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      The enum numeric value on the wire for language.
    • getLanguage

      public ScriptLanguage getLanguage()
      .soulfire.v1.ScriptLanguage language = 4;
      Specified by:
      getLanguage in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      The language.
    • hasCreatedAt

      public boolean hasCreatedAt()
      .google.protobuf.Timestamp created_at = 5;
      Specified by:
      hasCreatedAt in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      public com.google.protobuf.Timestamp getCreatedAt()
      .google.protobuf.Timestamp created_at = 5;
      Specified by:
      getCreatedAt in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      The createdAt.
    • getCreatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
      .google.protobuf.Timestamp created_at = 5;
      Specified by:
      getCreatedAtOrBuilder in interface ScriptListResponse.ScriptOrBuilder
    • hasUpdatedAt

      public boolean hasUpdatedAt()
      .google.protobuf.Timestamp updated_at = 6;
      Specified by:
      hasUpdatedAt in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      Whether the updatedAt field is set.
    • getUpdatedAt

      public com.google.protobuf.Timestamp getUpdatedAt()
      .google.protobuf.Timestamp updated_at = 6;
      Specified by:
      getUpdatedAt in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      The updatedAt.
    • getUpdatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()
      .google.protobuf.Timestamp updated_at = 6;
      Specified by:
      getUpdatedAtOrBuilder in interface ScriptListResponse.ScriptOrBuilder
    • hasScriptScope

      public boolean hasScriptScope()
      .soulfire.v1.ScriptScope script_scope = 7;
      Specified by:
      hasScriptScope in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      Whether the scriptScope field is set.
    • getScriptScope

      public ScriptScope getScriptScope()
      .soulfire.v1.ScriptScope script_scope = 7;
      Specified by:
      getScriptScope in interface ScriptListResponse.ScriptOrBuilder
      Returns:
      The scriptScope.
    • getScriptScopeOrBuilder

      public ScriptScopeOrBuilder getScriptScopeOrBuilder()
      .soulfire.v1.ScriptScope script_scope = 7;
      Specified by:
      getScriptScopeOrBuilder in interface ScriptListResponse.ScriptOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ScriptListResponse.Script parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScriptListResponse.Script parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScriptListResponse.Script parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScriptListResponse.Script parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScriptListResponse.Script parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScriptListResponse.Script parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScriptListResponse.Script parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScriptListResponse.Script parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ScriptListResponse.Script parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ScriptListResponse.Script parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScriptListResponse.Script parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScriptListResponse.Script parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ScriptListResponse.Script.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ScriptListResponse.Script.Builder newBuilder()
    • newBuilder

      public static ScriptListResponse.Script.Builder newBuilder(ScriptListResponse.Script prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ScriptListResponse.Script.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ScriptListResponse.Script getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ScriptListResponse.Script> parser()
    • getParserForType

      public com.google.protobuf.Parser<ScriptListResponse.Script> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ScriptListResponse.Script getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder