Class Resource
-
- All Implemented Interfaces:
-
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,xyz.block.ftl.v1beta1.provisioner.ResourceOrBuilder
public final class Resource extends GeneratedMessageV3 implements ResourceOrBuilder
Protobuf typeResource is an abstract resource extracted from FTL Schema.xyz.block.ftl.v1beta1.provisioner.Resource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumResource.ResourceCasepublic final classResource.Builder
Protobuf typeResource is an abstract resource extracted from FTL Schema.xyz.block.ftl.v1beta1.provisioner.Resource
-
Field Summary
Fields Modifier and Type Field Description public final static intRESOURCE_ID_FIELD_NUMBERpublic final static intPOSTGRES_FIELD_NUMBERpublic final static intMYSQL_FIELD_NUMBERpublic final static intMODULE_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()Resource.ResourceCasegetResourceCase()StringgetResourceId()id unique within the modulestring resource_id = 1;ByteStringgetResourceIdBytes()id unique within the modulestring resource_id = 1;booleanhasPostgres().xyz.block.ftl.v1beta1.provisioner.PostgresResource postgres = 102;PostgresResourcegetPostgres().xyz.block.ftl.v1beta1.provisioner.PostgresResource postgres = 102;PostgresResourceOrBuildergetPostgresOrBuilder().xyz.block.ftl.v1beta1.provisioner.PostgresResource postgres = 102;booleanhasMysql().xyz.block.ftl.v1beta1.provisioner.MysqlResource mysql = 103;MysqlResourcegetMysql().xyz.block.ftl.v1beta1.provisioner.MysqlResource mysql = 103;MysqlResourceOrBuildergetMysqlOrBuilder().xyz.block.ftl.v1beta1.provisioner.MysqlResource mysql = 103;booleanhasModule().xyz.block.ftl.v1beta1.provisioner.ModuleResource module = 104;ModuleResourcegetModule().xyz.block.ftl.v1beta1.provisioner.ModuleResource module = 104;ModuleResourceOrBuildergetModuleOrBuilder().xyz.block.ftl.v1beta1.provisioner.ModuleResource module = 104;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static ResourceparseFrom(ByteBuffer data)static ResourceparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static ResourceparseFrom(ByteString data)static ResourceparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static ResourceparseFrom(Array<byte> data)static ResourceparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static ResourceparseFrom(InputStream input)static ResourceparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ResourceparseDelimitedFrom(InputStream input)static ResourceparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ResourceparseFrom(CodedInputStream input)static ResourceparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)Resource.BuildernewBuilderForType()static Resource.BuildernewBuilder()static Resource.BuildernewBuilder(Resource prototype)Resource.BuildertoBuilder()static ResourcegetDefaultInstance()static Parser<Resource>parser()Parser<Resource>getParserForType()ResourcegetDefaultInstanceForType()-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof -
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.Message
getParserForType -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
getResourceCase
Resource.ResourceCase getResourceCase()
-
getResourceId
String getResourceId()
id unique within the modulestring resource_id = 1;- Returns:
The resourceId.
-
getResourceIdBytes
ByteString getResourceIdBytes()
id unique within the modulestring resource_id = 1;- Returns:
The bytes for resourceId.
-
hasPostgres
boolean hasPostgres()
.xyz.block.ftl.v1beta1.provisioner.PostgresResource postgres = 102;- Returns:
Whether the postgres field is set.
-
getPostgres
PostgresResource getPostgres()
.xyz.block.ftl.v1beta1.provisioner.PostgresResource postgres = 102;- Returns:
The postgres.
-
getPostgresOrBuilder
PostgresResourceOrBuilder getPostgresOrBuilder()
.xyz.block.ftl.v1beta1.provisioner.PostgresResource postgres = 102;
-
hasMysql
boolean hasMysql()
.xyz.block.ftl.v1beta1.provisioner.MysqlResource mysql = 103;- Returns:
Whether the mysql field is set.
-
getMysql
MysqlResource getMysql()
.xyz.block.ftl.v1beta1.provisioner.MysqlResource mysql = 103;- Returns:
The mysql.
-
getMysqlOrBuilder
MysqlResourceOrBuilder getMysqlOrBuilder()
.xyz.block.ftl.v1beta1.provisioner.MysqlResource mysql = 103;
-
hasModule
boolean hasModule()
.xyz.block.ftl.v1beta1.provisioner.ModuleResource module = 104;- Returns:
Whether the module field is set.
-
getModule
ModuleResource getModule()
.xyz.block.ftl.v1beta1.provisioner.ModuleResource module = 104;- Returns:
The module.
-
getModuleOrBuilder
ModuleResourceOrBuilder getModuleOrBuilder()
.xyz.block.ftl.v1beta1.provisioner.ModuleResource module = 104;
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static Resource parseFrom(ByteBuffer data)
-
parseFrom
static Resource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Resource parseFrom(InputStream input)
-
parseFrom
static Resource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static Resource parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static Resource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Resource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
Resource.Builder newBuilderForType()
-
newBuilder
static Resource.Builder newBuilder()
-
newBuilder
static Resource.Builder newBuilder(Resource prototype)
-
toBuilder
Resource.Builder toBuilder()
-
getDefaultInstance
static Resource getDefaultInstance()
-
getParserForType
Parser<Resource> getParserForType()
-
getDefaultInstanceForType
Resource getDefaultInstanceForType()
-
-
-
-