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. we use convention of prefixing field names with out_ if they are populated by the provisioning enginexyz.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. we use convention of prefixing field names with out_ if they are populated by the provisioning enginexyz.block.ftl.v1beta1.provisioner.Resource
-
Field Summary
Fields Modifier and Type Field Description public final static intRESOURCE_ID_FIELD_NUMBERpublic final static intOUT_PROPERTIES_FIELD_NUMBERpublic final static intDEPENDENCIES_FIELD_NUMBERpublic final static intFTL_FIELD_NUMBERpublic final static intPOSTGRES_FIELD_NUMBERpublic final static intMYSQL_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;List<ResourceProperty>getOutPropertiesList()Additional implementation specific properties populated when the resource was createdrepeated .xyz.block.ftl.v1beta1.provisioner.ResourceProperty out_properties = 2;List<out ResourcePropertyOrBuilder>getOutPropertiesOrBuilderList()Additional implementation specific properties populated when the resource was createdrepeated .xyz.block.ftl.v1beta1.provisioner.ResourceProperty out_properties = 2;intgetOutPropertiesCount()Additional implementation specific properties populated when the resource was createdrepeated .xyz.block.ftl.v1beta1.provisioner.ResourceProperty out_properties = 2;ResourcePropertygetOutProperties(int index)Additional implementation specific properties populated when the resource was createdrepeated .xyz.block.ftl.v1beta1.provisioner.ResourceProperty out_properties = 2;ResourcePropertyOrBuildergetOutPropertiesOrBuilder(int index)Additional implementation specific properties populated when the resource was createdrepeated .xyz.block.ftl.v1beta1.provisioner.ResourceProperty out_properties = 2;List<Resource>getDependenciesList()direct downstream dependencies this Resource depends onrepeated .xyz.block.ftl.v1beta1.provisioner.Resource dependencies = 3;List<out ResourceOrBuilder>getDependenciesOrBuilderList()direct downstream dependencies this Resource depends onrepeated .xyz.block.ftl.v1beta1.provisioner.Resource dependencies = 3;intgetDependenciesCount()direct downstream dependencies this Resource depends onrepeated .xyz.block.ftl.v1beta1.provisioner.Resource dependencies = 3;ResourcegetDependencies(int index)direct downstream dependencies this Resource depends onrepeated .xyz.block.ftl.v1beta1.provisioner.Resource dependencies = 3;ResourceOrBuildergetDependenciesOrBuilder(int index)direct downstream dependencies this Resource depends onrepeated .xyz.block.ftl.v1beta1.provisioner.Resource dependencies = 3;booleanhasFtl().xyz.block.ftl.v1beta1.provisioner.FtlClusterResource ftl = 101;FtlClusterResourcegetFtl().xyz.block.ftl.v1beta1.provisioner.FtlClusterResource ftl = 101;FtlClusterResourceOrBuildergetFtlOrBuilder().xyz.block.ftl.v1beta1.provisioner.FtlClusterResource ftl = 101;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;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.
-
getOutPropertiesList
List<ResourceProperty> getOutPropertiesList()
Additional implementation specific properties populated when the resource was createdrepeated .xyz.block.ftl.v1beta1.provisioner.ResourceProperty out_properties = 2;
-
getOutPropertiesOrBuilderList
List<out ResourcePropertyOrBuilder> getOutPropertiesOrBuilderList()
Additional implementation specific properties populated when the resource was createdrepeated .xyz.block.ftl.v1beta1.provisioner.ResourceProperty out_properties = 2;
-
getOutPropertiesCount
int getOutPropertiesCount()
Additional implementation specific properties populated when the resource was createdrepeated .xyz.block.ftl.v1beta1.provisioner.ResourceProperty out_properties = 2;
-
getOutProperties
ResourceProperty getOutProperties(int index)
Additional implementation specific properties populated when the resource was createdrepeated .xyz.block.ftl.v1beta1.provisioner.ResourceProperty out_properties = 2;
-
getOutPropertiesOrBuilder
ResourcePropertyOrBuilder getOutPropertiesOrBuilder(int index)
Additional implementation specific properties populated when the resource was createdrepeated .xyz.block.ftl.v1beta1.provisioner.ResourceProperty out_properties = 2;
-
getDependenciesList
List<Resource> getDependenciesList()
direct downstream dependencies this Resource depends onrepeated .xyz.block.ftl.v1beta1.provisioner.Resource dependencies = 3;
-
getDependenciesOrBuilderList
List<out ResourceOrBuilder> getDependenciesOrBuilderList()
direct downstream dependencies this Resource depends onrepeated .xyz.block.ftl.v1beta1.provisioner.Resource dependencies = 3;
-
getDependenciesCount
int getDependenciesCount()
direct downstream dependencies this Resource depends onrepeated .xyz.block.ftl.v1beta1.provisioner.Resource dependencies = 3;
-
getDependencies
Resource getDependencies(int index)
direct downstream dependencies this Resource depends onrepeated .xyz.block.ftl.v1beta1.provisioner.Resource dependencies = 3;
-
getDependenciesOrBuilder
ResourceOrBuilder getDependenciesOrBuilder(int index)
direct downstream dependencies this Resource depends onrepeated .xyz.block.ftl.v1beta1.provisioner.Resource dependencies = 3;
-
hasFtl
boolean hasFtl()
.xyz.block.ftl.v1beta1.provisioner.FtlClusterResource ftl = 101;- Returns:
Whether the ftl field is set.
-
getFtl
FtlClusterResource getFtl()
.xyz.block.ftl.v1beta1.provisioner.FtlClusterResource ftl = 101;- Returns:
The ftl.
-
getFtlOrBuilder
FtlClusterResourceOrBuilder getFtlOrBuilder()
.xyz.block.ftl.v1beta1.provisioner.FtlClusterResource ftl = 101;
-
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;
-
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()
-
-
-
-