Class Changeset
-
- 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.schema.v1.ChangesetOrBuilder
public final class Changeset extends GeneratedMessageV3 implements ChangesetOrBuilder
Protobuf type
xyz.block.ftl.schema.v1.Changeset
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChangeset.BuilderProtobuf type
xyz.block.ftl.schema.v1.Changeset
-
Field Summary
Fields Modifier and Type Field Description public final static intKEY_FIELD_NUMBERpublic final static intCREATED_AT_FIELD_NUMBERpublic final static intMODULES_FIELD_NUMBERpublic final static intTO_REMOVE_FIELD_NUMBERpublic final static intREMOVING_MODULES_FIELD_NUMBERpublic final static intSTATE_FIELD_NUMBERpublic final static intERROR_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()StringgetKey()string key = 1;ByteStringgetKeyBytes()string key = 1;booleanhasCreatedAt().google.protobuf.Timestamp created_at = 2;TimestampgetCreatedAt().google.protobuf.Timestamp created_at = 2;TimestampOrBuildergetCreatedAtOrBuilder().google.protobuf.Timestamp created_at = 2;List<Module>getModulesList()repeated .xyz.block.ftl.schema.v1.Module modules = 3;List<out ModuleOrBuilder>getModulesOrBuilderList()repeated .xyz.block.ftl.schema.v1.Module modules = 3;intgetModulesCount()repeated .xyz.block.ftl.schema.v1.Module modules = 3;ModulegetModules(int index)repeated .xyz.block.ftl.schema.v1.Module modules = 3;ModuleOrBuildergetModulesOrBuilder(int index)repeated .xyz.block.ftl.schema.v1.Module modules = 3;ProtocolStringListgetToRemoveList()repeated string to_remove = 4;intgetToRemoveCount()repeated string to_remove = 4;StringgetToRemove(int index)repeated string to_remove = 4;ByteStringgetToRemoveBytes(int index)repeated string to_remove = 4;List<Module>getRemovingModulesList()repeated .xyz.block.ftl.schema.v1.Module removing_modules = 5;List<out ModuleOrBuilder>getRemovingModulesOrBuilderList()repeated .xyz.block.ftl.schema.v1.Module removing_modules = 5;intgetRemovingModulesCount()repeated .xyz.block.ftl.schema.v1.Module removing_modules = 5;ModulegetRemovingModules(int index)repeated .xyz.block.ftl.schema.v1.Module removing_modules = 5;ModuleOrBuildergetRemovingModulesOrBuilder(int index)repeated .xyz.block.ftl.schema.v1.Module removing_modules = 5;intgetStateValue().xyz.block.ftl.schema.v1.ChangesetState state = 6;ChangesetStategetState().xyz.block.ftl.schema.v1.ChangesetState state = 6;booleanhasError()optional string error = 7;StringgetError()optional string error = 7;ByteStringgetErrorBytes()optional string error = 7;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static ChangesetparseFrom(ByteBuffer data)static ChangesetparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static ChangesetparseFrom(ByteString data)static ChangesetparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static ChangesetparseFrom(Array<byte> data)static ChangesetparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static ChangesetparseFrom(InputStream input)static ChangesetparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ChangesetparseDelimitedFrom(InputStream input)static ChangesetparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ChangesetparseFrom(CodedInputStream input)static ChangesetparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)Changeset.BuildernewBuilderForType()static Changeset.BuildernewBuilder()static Changeset.BuildernewBuilder(Changeset prototype)Changeset.BuildertoBuilder()static ChangesetgetDefaultInstance()static Parser<Changeset>parser()Parser<Changeset>getParserForType()ChangesetgetDefaultInstanceForType()-
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()
-
getKeyBytes
ByteString getKeyBytes()
string key = 1;- Returns:
The bytes for key.
-
hasCreatedAt
boolean hasCreatedAt()
.google.protobuf.Timestamp created_at = 2;- Returns:
Whether the createdAt field is set.
-
getCreatedAt
Timestamp getCreatedAt()
.google.protobuf.Timestamp created_at = 2;- Returns:
The createdAt.
-
getCreatedAtOrBuilder
TimestampOrBuilder getCreatedAtOrBuilder()
.google.protobuf.Timestamp created_at = 2;
-
getModulesList
List<Module> getModulesList()
repeated .xyz.block.ftl.schema.v1.Module modules = 3;
-
getModulesOrBuilderList
List<out ModuleOrBuilder> getModulesOrBuilderList()
repeated .xyz.block.ftl.schema.v1.Module modules = 3;
-
getModulesCount
int getModulesCount()
repeated .xyz.block.ftl.schema.v1.Module modules = 3;
-
getModules
Module getModules(int index)
repeated .xyz.block.ftl.schema.v1.Module modules = 3;
-
getModulesOrBuilder
ModuleOrBuilder getModulesOrBuilder(int index)
repeated .xyz.block.ftl.schema.v1.Module modules = 3;
-
getToRemoveList
ProtocolStringList getToRemoveList()
repeated string to_remove = 4;- Returns:
A list containing the toRemove.
-
getToRemoveCount
int getToRemoveCount()
repeated string to_remove = 4;- Returns:
The count of toRemove.
-
getToRemove
String getToRemove(int index)
repeated string to_remove = 4;- Parameters:
index- The index of the element to return.- Returns:
The toRemove at the given index.
-
getToRemoveBytes
ByteString getToRemoveBytes(int index)
repeated string to_remove = 4;- Parameters:
index- The index of the value to return.- Returns:
The bytes of the toRemove at the given index.
-
getRemovingModulesList
List<Module> getRemovingModulesList()
repeated .xyz.block.ftl.schema.v1.Module removing_modules = 5;
-
getRemovingModulesOrBuilderList
List<out ModuleOrBuilder> getRemovingModulesOrBuilderList()
repeated .xyz.block.ftl.schema.v1.Module removing_modules = 5;
-
getRemovingModulesCount
int getRemovingModulesCount()
repeated .xyz.block.ftl.schema.v1.Module removing_modules = 5;
-
getRemovingModules
Module getRemovingModules(int index)
repeated .xyz.block.ftl.schema.v1.Module removing_modules = 5;
-
getRemovingModulesOrBuilder
ModuleOrBuilder getRemovingModulesOrBuilder(int index)
repeated .xyz.block.ftl.schema.v1.Module removing_modules = 5;
-
getStateValue
int getStateValue()
.xyz.block.ftl.schema.v1.ChangesetState state = 6;- Returns:
The enum numeric value on the wire for state.
-
getState
ChangesetState getState()
.xyz.block.ftl.schema.v1.ChangesetState state = 6;- Returns:
The state.
-
hasError
boolean hasError()
optional string error = 7;- Returns:
Whether the error field is set.
-
getErrorBytes
ByteString getErrorBytes()
optional string error = 7;- Returns:
The bytes for error.
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static Changeset parseFrom(ByteBuffer data)
-
parseFrom
static Changeset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Changeset parseFrom(InputStream input)
-
parseFrom
static Changeset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static Changeset parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static Changeset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Changeset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
Changeset.Builder newBuilderForType()
-
newBuilder
static Changeset.Builder newBuilder()
-
newBuilder
static Changeset.Builder newBuilder(Changeset prototype)
-
toBuilder
Changeset.Builder toBuilder()
-
getDefaultInstance
static Changeset getDefaultInstance()
-
getParserForType
Parser<Changeset> getParserForType()
-
getDefaultInstanceForType
Changeset getDefaultInstanceForType()
-
-
-
-