Class InstancePartition
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.spanner.admin.instance.v1.InstancePartition
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,InstancePartitionOrBuilder,Serializable
public final class InstancePartition
extends com.google.protobuf.GeneratedMessageV3
implements InstancePartitionOrBuilder
An isolated set of Cloud Spanner resources that databases can define placements on.Protobuf type
google.spanner.admin.instance.v1.InstancePartition- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn isolated set of Cloud Spanner resources that databases can define placements on.static enumstatic enumIndicates the current state of the instance partition.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static InstancePartitionstatic final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getEtag()Used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance partition from overwriting each other.com.google.protobuf.ByteStringUsed for optimistic concurrency control as a way to help prevent simultaneous updates of a instance partition from overwriting each other.getName()Required.com.google.protobuf.ByteStringRequired.intThe number of nodes allocated to this instance partition.com.google.protobuf.Parser<InstancePartition>intThe number of processing units allocated to this instance partition.getReferencingBackups(int index) Deprecated.google.spanner.admin.instance.v1.InstancePartition.referencing_backups is deprecated.com.google.protobuf.ByteStringgetReferencingBackupsBytes(int index) Deprecated.google.spanner.admin.instance.v1.InstancePartition.referencing_backups is deprecated.intDeprecated.google.spanner.admin.instance.v1.InstancePartition.referencing_backups is deprecated.com.google.protobuf.ProtocolStringListDeprecated.google.spanner.admin.instance.v1.InstancePartition.referencing_backups is deprecated.getReferencingDatabases(int index) Output only.com.google.protobuf.ByteStringgetReferencingDatabasesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.intgetState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.inthashCode()booleanThe number of nodes allocated to this instance partition.booleanThe number of processing units allocated to this instance partition.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic InstancePartition.Builderstatic InstancePartition.BuildernewBuilder(InstancePartition prototype) protected InstancePartition.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static InstancePartitionparseDelimitedFrom(InputStream input) static InstancePartitionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstancePartitionparseFrom(byte[] data) static InstancePartitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstancePartitionparseFrom(com.google.protobuf.ByteString data) static InstancePartitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstancePartitionparseFrom(com.google.protobuf.CodedInputStream input) static InstancePartitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstancePartitionparseFrom(InputStream input) static InstancePartitionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstancePartitionparseFrom(ByteBuffer data) static InstancePartitionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InstancePartition>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
NODE_COUNT_FIELD_NUMBER
public static final int NODE_COUNT_FIELD_NUMBER- See Also:
-
PROCESSING_UNITS_FIELD_NUMBER
public static final int PROCESSING_UNITS_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
REFERENCING_DATABASES_FIELD_NUMBER
public static final int REFERENCING_DATABASES_FIELD_NUMBER- See Also:
-
REFERENCING_BACKUPS_FIELD_NUMBER
public static final int REFERENCING_BACKUPS_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getComputeCapacityCase
- Specified by:
getComputeCapacityCasein interfaceInstancePartitionOrBuilder
-
getName
Required. A unique identifier for the instance partition. Values are of the form `projects/<project>/instances/<instance>/instancePartitions/[a-z][-a-z0-9]*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length. An instance partition's name cannot be changed after the instance partition is created.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceInstancePartitionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. A unique identifier for the instance partition. Values are of the form `projects/<project>/instances/<instance>/instancePartitions/[a-z][-a-z0-9]*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length. An instance partition's name cannot be changed after the instance partition is created.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceInstancePartitionOrBuilder- Returns:
- The bytes for name.
-
getConfig
Required. The name of the instance partition's configuration. Values are of the form `projects/<project>/instanceConfigs/<configuration>`. See also [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] and [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getConfigin interfaceInstancePartitionOrBuilder- Returns:
- The config.
-
getConfigBytes
public com.google.protobuf.ByteString getConfigBytes()Required. The name of the instance partition's configuration. Values are of the form `projects/<project>/instanceConfigs/<configuration>`. See also [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] and [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].
string config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getConfigBytesin interfaceInstancePartitionOrBuilder- Returns:
- The bytes for config.
-
getDisplayName
Required. The descriptive name for this instance partition as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceInstancePartitionOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The descriptive name for this instance partition as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceInstancePartitionOrBuilder- Returns:
- The bytes for displayName.
-
hasNodeCount
public boolean hasNodeCount()The number of nodes allocated to this instance partition. Users can set the `node_count` field to specify the target number of nodes allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`.
int32 node_count = 5;- Specified by:
hasNodeCountin interfaceInstancePartitionOrBuilder- Returns:
- Whether the nodeCount field is set.
-
getNodeCount
public int getNodeCount()The number of nodes allocated to this instance partition. Users can set the `node_count` field to specify the target number of nodes allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`.
int32 node_count = 5;- Specified by:
getNodeCountin interfaceInstancePartitionOrBuilder- Returns:
- The nodeCount.
-
hasProcessingUnits
public boolean hasProcessingUnits()The number of processing units allocated to this instance partition. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance partition. This might be zero in API responses for instance partitions that are not yet in the `READY` state.
int32 processing_units = 6;- Specified by:
hasProcessingUnitsin interfaceInstancePartitionOrBuilder- Returns:
- Whether the processingUnits field is set.
-
getProcessingUnits
public int getProcessingUnits()The number of processing units allocated to this instance partition. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance partition. This might be zero in API responses for instance partitions that are not yet in the `READY` state.
int32 processing_units = 6;- Specified by:
getProcessingUnitsin interfaceInstancePartitionOrBuilder- Returns:
- The processingUnits.
-
getStateValue
public int getStateValue()Output only. The current instance partition state.
.google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceInstancePartitionOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The current instance partition state.
.google.spanner.admin.instance.v1.InstancePartition.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceInstancePartitionOrBuilder- Returns:
- The state.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time at which the instance partition was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceInstancePartitionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time at which the instance partition was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceInstancePartitionOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time at which the instance partition was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceInstancePartitionOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The time at which the instance partition was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceInstancePartitionOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The time at which the instance partition was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceInstancePartitionOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time at which the instance partition was most recently updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceInstancePartitionOrBuilder
-
getReferencingDatabasesList
public com.google.protobuf.ProtocolStringList getReferencingDatabasesList()Output only. The names of the databases that reference this instance partition. Referencing databases should share the parent instance. The existence of any referencing database prevents the instance partition from being deleted.
repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReferencingDatabasesListin interfaceInstancePartitionOrBuilder- Returns:
- A list containing the referencingDatabases.
-
getReferencingDatabasesCount
public int getReferencingDatabasesCount()Output only. The names of the databases that reference this instance partition. Referencing databases should share the parent instance. The existence of any referencing database prevents the instance partition from being deleted.
repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReferencingDatabasesCountin interfaceInstancePartitionOrBuilder- Returns:
- The count of referencingDatabases.
-
getReferencingDatabases
Output only. The names of the databases that reference this instance partition. Referencing databases should share the parent instance. The existence of any referencing database prevents the instance partition from being deleted.
repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReferencingDatabasesin interfaceInstancePartitionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The referencingDatabases at the given index.
-
getReferencingDatabasesBytes
public com.google.protobuf.ByteString getReferencingDatabasesBytes(int index) Output only. The names of the databases that reference this instance partition. Referencing databases should share the parent instance. The existence of any referencing database prevents the instance partition from being deleted.
repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReferencingDatabasesBytesin interfaceInstancePartitionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the referencingDatabases at the given index.
-
getReferencingBackupsList
Deprecated.google.spanner.admin.instance.v1.InstancePartition.referencing_backups is deprecated. See google/spanner/admin/instance/v1/spanner_instance_admin.proto;l=1781Output only. Deprecated: This field is not populated. Output only. The names of the backups that reference this instance partition. Referencing backups should share the parent instance. The existence of any referencing backup prevents the instance partition from being deleted.
repeated string referencing_backups = 11 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReferencingBackupsListin interfaceInstancePartitionOrBuilder- Returns:
- A list containing the referencingBackups.
-
getReferencingBackupsCount
Deprecated.google.spanner.admin.instance.v1.InstancePartition.referencing_backups is deprecated. See google/spanner/admin/instance/v1/spanner_instance_admin.proto;l=1781Output only. Deprecated: This field is not populated. Output only. The names of the backups that reference this instance partition. Referencing backups should share the parent instance. The existence of any referencing backup prevents the instance partition from being deleted.
repeated string referencing_backups = 11 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReferencingBackupsCountin interfaceInstancePartitionOrBuilder- Returns:
- The count of referencingBackups.
-
getReferencingBackups
Deprecated.google.spanner.admin.instance.v1.InstancePartition.referencing_backups is deprecated. See google/spanner/admin/instance/v1/spanner_instance_admin.proto;l=1781Output only. Deprecated: This field is not populated. Output only. The names of the backups that reference this instance partition. Referencing backups should share the parent instance. The existence of any referencing backup prevents the instance partition from being deleted.
repeated string referencing_backups = 11 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReferencingBackupsin interfaceInstancePartitionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The referencingBackups at the given index.
-
getReferencingBackupsBytes
Deprecated.google.spanner.admin.instance.v1.InstancePartition.referencing_backups is deprecated. See google/spanner/admin/instance/v1/spanner_instance_admin.proto;l=1781Output only. Deprecated: This field is not populated. Output only. The names of the backups that reference this instance partition. Referencing backups should share the parent instance. The existence of any referencing backup prevents the instance partition from being deleted.
repeated string referencing_backups = 11 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReferencingBackupsBytesin interfaceInstancePartitionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the referencingBackups at the given index.
-
getEtag
Used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance partition from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform instance partition updates in order to avoid race conditions: An etag is returned in the response which contains instance partitions, and systems are expected to put that etag in the request to update instance partitions to ensure that their change will be applied to the same version of the instance partition. If no etag is provided in the call to update instance partition, then the existing instance partition is overwritten blindly.
string etag = 12;- Specified by:
getEtagin interfaceInstancePartitionOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance partition from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform instance partition updates in order to avoid race conditions: An etag is returned in the response which contains instance partitions, and systems are expected to put that etag in the request to update instance partitions to ensure that their change will be applied to the same version of the instance partition. If no etag is provided in the call to update instance partition, then the existing instance partition is overwritten blindly.
string etag = 12;- Specified by:
getEtagBytesin interfaceInstancePartitionOrBuilder- Returns:
- The bytes for etag.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InstancePartition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstancePartition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstancePartition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstancePartition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstancePartition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstancePartition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static InstancePartition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static InstancePartition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InstancePartition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InstancePartition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InstancePartition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-