Class Instance

  • All Implemented Interfaces:
    InstanceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Instance
    extends com.google.protobuf.GeneratedMessageV3
    implements InstanceOrBuilder
     An Instance is a computing unit that an end customer can connect to.
     It's the main unit of computing resources in AlloyDB.
     
    Protobuf type google.cloud.alloydb.v1beta.Instance
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getName

        public String getName()
         Output only. The name of the instance resource with the format:
          * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
         where the cluster and instance ID segments should satisfy the regex
         expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
         lowercase letters, numbers, and dashes, starting with a letter, and ending
         with a letter or number. For more details see https://google.aip.dev/122.
         The prefix of the instance resource name is the name of the parent
         resource:
          * projects/{project}/locations/{region}/clusters/{cluster_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface InstanceOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The name of the instance resource with the format:
          * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
         where the cluster and instance ID segments should satisfy the regex
         expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of
         lowercase letters, numbers, and dashes, starting with a letter, and ending
         with a letter or number. For more details see https://google.aip.dev/122.
         The prefix of the instance resource name is the name of the parent
         resource:
          * projects/{project}/locations/{region}/clusters/{cluster_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface InstanceOrBuilder
        Returns:
        The bytes for name.
      • getDisplayName

        public String getDisplayName()
         User-settable and human-readable display name for the Instance.
         
        string display_name = 2;
        Specified by:
        getDisplayName in interface InstanceOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         User-settable and human-readable display name for the Instance.
         
        string display_name = 2;
        Specified by:
        getDisplayNameBytes in interface InstanceOrBuilder
        Returns:
        The bytes for displayName.
      • getUid

        public String getUid()
         Output only. The system-generated UID of the resource. The UID is assigned
         when the resource is created, and it is retained until it is deleted.
         
        string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUid in interface InstanceOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         Output only. The system-generated UID of the resource. The UID is assigned
         when the resource is created, and it is retained until it is deleted.
         
        string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUidBytes in interface InstanceOrBuilder
        Returns:
        The bytes for uid.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Create time stamp
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface InstanceOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Create time stamp
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface InstanceOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Create time stamp
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface InstanceOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. Update time stamp
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface InstanceOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Update time stamp
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface InstanceOrBuilder
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Update time stamp
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface InstanceOrBuilder
      • hasDeleteTime

        public boolean hasDeleteTime()
         Output only. Delete time stamp
         
        .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDeleteTime in interface InstanceOrBuilder
        Returns:
        Whether the deleteTime field is set.
      • getDeleteTime

        public com.google.protobuf.Timestamp getDeleteTime()
         Output only. Delete time stamp
         
        .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteTime in interface InstanceOrBuilder
        Returns:
        The deleteTime.
      • getDeleteTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
         Output only. Delete time stamp
         
        .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteTimeOrBuilder in interface InstanceOrBuilder
      • getStateValue

        public int getStateValue()
         Output only. The current serving state of the instance.
         
        .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface InstanceOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getState

        public Instance.State getState()
         Output only. The current serving state of the instance.
         
        .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface InstanceOrBuilder
        Returns:
        The state.
      • getInstanceTypeValue

        public int getInstanceTypeValue()
         Required. The type of the instance. Specified at creation time.
         
        .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getInstanceTypeValue in interface InstanceOrBuilder
        Returns:
        The enum numeric value on the wire for instanceType.
      • getInstanceType

        public Instance.InstanceType getInstanceType()
         Required. The type of the instance. Specified at creation time.
         
        .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getInstanceType in interface InstanceOrBuilder
        Returns:
        The instanceType.
      • hasMachineConfig

        public boolean hasMachineConfig()
         Configurations for the machines that host the underlying
         database engine.
         
        .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
        Specified by:
        hasMachineConfig in interface InstanceOrBuilder
        Returns:
        Whether the machineConfig field is set.
      • getMachineConfig

        public Instance.MachineConfig getMachineConfig()
         Configurations for the machines that host the underlying
         database engine.
         
        .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
        Specified by:
        getMachineConfig in interface InstanceOrBuilder
        Returns:
        The machineConfig.
      • getAvailabilityTypeValue

        public int getAvailabilityTypeValue()
         Availability type of an Instance.
         If empty, defaults to REGIONAL for primary instances.
         For read pools, availability_type is always UNSPECIFIED. Instances in the
         read pools are evenly distributed across available zones within the region
         (i.e. read pools with more than one node will have a node in at
         least two zones).
         
        .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11;
        Specified by:
        getAvailabilityTypeValue in interface InstanceOrBuilder
        Returns:
        The enum numeric value on the wire for availabilityType.
      • getAvailabilityType

        public Instance.AvailabilityType getAvailabilityType()
         Availability type of an Instance.
         If empty, defaults to REGIONAL for primary instances.
         For read pools, availability_type is always UNSPECIFIED. Instances in the
         read pools are evenly distributed across available zones within the region
         (i.e. read pools with more than one node will have a node in at
         least two zones).
         
        .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11;
        Specified by:
        getAvailabilityType in interface InstanceOrBuilder
        Returns:
        The availabilityType.
      • getGceZone

        public String getGceZone()
         The Compute Engine zone that the instance should serve from, per
         https://cloud.google.com/compute/docs/regions-zones
         This can ONLY be specified for ZONAL instances.
         If present for a REGIONAL instance, an error will be thrown.
         If this is absent for a ZONAL instance, instance is created in a random
         zone with available capacity.
         
        string gce_zone = 12;
        Specified by:
        getGceZone in interface InstanceOrBuilder
        Returns:
        The gceZone.
      • getGceZoneBytes

        public com.google.protobuf.ByteString getGceZoneBytes()
         The Compute Engine zone that the instance should serve from, per
         https://cloud.google.com/compute/docs/regions-zones
         This can ONLY be specified for ZONAL instances.
         If present for a REGIONAL instance, an error will be thrown.
         If this is absent for a ZONAL instance, instance is created in a random
         zone with available capacity.
         
        string gce_zone = 12;
        Specified by:
        getGceZoneBytes in interface InstanceOrBuilder
        Returns:
        The bytes for gceZone.
      • getDatabaseFlagsCount

        public int getDatabaseFlagsCount()
        Description copied from interface: InstanceOrBuilder
         Database flags. Set at instance level.
          * They are copied from primary instance on read instance creation.
          * Read instances can set new or override existing flags that are relevant
            for reads, e.g. for enabling columnar cache on a read instance. Flags
            set on read instance may or may not be present on primary.
        
        
         This is a list of "key": "value" pairs.
         "key": The name of the flag. These flags are passed at instance setup time,
         so include both server options and system variables for Postgres. Flags are
         specified with underscores, not hyphens.
         "value": The value of the flag. Booleans are set to **on** for true
         and **off** for false. This field must be omitted if the flag
         doesn't take a value.
         
        map<string, string> database_flags = 13;
        Specified by:
        getDatabaseFlagsCount in interface InstanceOrBuilder
      • containsDatabaseFlags

        public boolean containsDatabaseFlags​(String key)
         Database flags. Set at instance level.
          * They are copied from primary instance on read instance creation.
          * Read instances can set new or override existing flags that are relevant
            for reads, e.g. for enabling columnar cache on a read instance. Flags
            set on read instance may or may not be present on primary.
        
        
         This is a list of "key": "value" pairs.
         "key": The name of the flag. These flags are passed at instance setup time,
         so include both server options and system variables for Postgres. Flags are
         specified with underscores, not hyphens.
         "value": The value of the flag. Booleans are set to **on** for true
         and **off** for false. This field must be omitted if the flag
         doesn't take a value.
         
        map<string, string> database_flags = 13;
        Specified by:
        containsDatabaseFlags in interface InstanceOrBuilder
      • getDatabaseFlagsMap

        public Map<String,​String> getDatabaseFlagsMap()
         Database flags. Set at instance level.
          * They are copied from primary instance on read instance creation.
          * Read instances can set new or override existing flags that are relevant
            for reads, e.g. for enabling columnar cache on a read instance. Flags
            set on read instance may or may not be present on primary.
        
        
         This is a list of "key": "value" pairs.
         "key": The name of the flag. These flags are passed at instance setup time,
         so include both server options and system variables for Postgres. Flags are
         specified with underscores, not hyphens.
         "value": The value of the flag. Booleans are set to **on** for true
         and **off** for false. This field must be omitted if the flag
         doesn't take a value.
         
        map<string, string> database_flags = 13;
        Specified by:
        getDatabaseFlagsMap in interface InstanceOrBuilder
      • getDatabaseFlagsOrDefault

        public String getDatabaseFlagsOrDefault​(String key,
                                                String defaultValue)
         Database flags. Set at instance level.
          * They are copied from primary instance on read instance creation.
          * Read instances can set new or override existing flags that are relevant
            for reads, e.g. for enabling columnar cache on a read instance. Flags
            set on read instance may or may not be present on primary.
        
        
         This is a list of "key": "value" pairs.
         "key": The name of the flag. These flags are passed at instance setup time,
         so include both server options and system variables for Postgres. Flags are
         specified with underscores, not hyphens.
         "value": The value of the flag. Booleans are set to **on** for true
         and **off** for false. This field must be omitted if the flag
         doesn't take a value.
         
        map<string, string> database_flags = 13;
        Specified by:
        getDatabaseFlagsOrDefault in interface InstanceOrBuilder
      • getDatabaseFlagsOrThrow

        public String getDatabaseFlagsOrThrow​(String key)
         Database flags. Set at instance level.
          * They are copied from primary instance on read instance creation.
          * Read instances can set new or override existing flags that are relevant
            for reads, e.g. for enabling columnar cache on a read instance. Flags
            set on read instance may or may not be present on primary.
        
        
         This is a list of "key": "value" pairs.
         "key": The name of the flag. These flags are passed at instance setup time,
         so include both server options and system variables for Postgres. Flags are
         specified with underscores, not hyphens.
         "value": The value of the flag. Booleans are set to **on** for true
         and **off** for false. This field must be omitted if the flag
         doesn't take a value.
         
        map<string, string> database_flags = 13;
        Specified by:
        getDatabaseFlagsOrThrow in interface InstanceOrBuilder
      • hasWritableNode

        public boolean hasWritableNode()
         Output only. This is set for the read-write VM of the PRIMARY instance
         only.
         
        .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasWritableNode in interface InstanceOrBuilder
        Returns:
        Whether the writableNode field is set.
      • getWritableNode

        public Instance.Node getWritableNode()
         Output only. This is set for the read-write VM of the PRIMARY instance
         only.
         
        .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWritableNode in interface InstanceOrBuilder
        Returns:
        The writableNode.
      • getWritableNodeOrBuilder

        public Instance.NodeOrBuilder getWritableNodeOrBuilder()
         Output only. This is set for the read-write VM of the PRIMARY instance
         only.
         
        .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWritableNodeOrBuilder in interface InstanceOrBuilder
      • getNodesList

        public List<Instance.Node> getNodesList()
         Output only. List of available read-only VMs in this instance, including
         the standby for a PRIMARY instance.
         
        repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNodesList in interface InstanceOrBuilder
      • getNodesOrBuilderList

        public List<? extends Instance.NodeOrBuilder> getNodesOrBuilderList()
         Output only. List of available read-only VMs in this instance, including
         the standby for a PRIMARY instance.
         
        repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNodesOrBuilderList in interface InstanceOrBuilder
      • getNodesCount

        public int getNodesCount()
         Output only. List of available read-only VMs in this instance, including
         the standby for a PRIMARY instance.
         
        repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNodesCount in interface InstanceOrBuilder
      • getNodes

        public Instance.Node getNodes​(int index)
         Output only. List of available read-only VMs in this instance, including
         the standby for a PRIMARY instance.
         
        repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNodes in interface InstanceOrBuilder
      • getNodesOrBuilder

        public Instance.NodeOrBuilder getNodesOrBuilder​(int index)
         Output only. List of available read-only VMs in this instance, including
         the standby for a PRIMARY instance.
         
        repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNodesOrBuilder in interface InstanceOrBuilder
      • hasQueryInsightsConfig

        public boolean hasQueryInsightsConfig()
         Configuration for query insights.
         
        .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21;
        Specified by:
        hasQueryInsightsConfig in interface InstanceOrBuilder
        Returns:
        Whether the queryInsightsConfig field is set.
      • hasReadPoolConfig

        public boolean hasReadPoolConfig()
         Read pool specific config.
         
        .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14;
        Specified by:
        hasReadPoolConfig in interface InstanceOrBuilder
        Returns:
        Whether the readPoolConfig field is set.
      • getIpAddress

        public String getIpAddress()
         Output only. The IP address for the Instance.
         This is the connection endpoint for an end-user application.
         
        string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIpAddress in interface InstanceOrBuilder
        Returns:
        The ipAddress.
      • getIpAddressBytes

        public com.google.protobuf.ByteString getIpAddressBytes()
         Output only. The IP address for the Instance.
         This is the connection endpoint for an end-user application.
         
        string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIpAddressBytes in interface InstanceOrBuilder
        Returns:
        The bytes for ipAddress.
      • getReconciling

        public boolean getReconciling()
         Output only. Reconciling (https://google.aip.dev/128#reconciliation).
         Set to true if the current state of Instance does not match the user's
         intended state, and the service is actively updating the resource to
         reconcile them. This can happen due to user-triggered updates or
         system actions like failover or maintenance.
         
        bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getReconciling in interface InstanceOrBuilder
        Returns:
        The reconciling.
      • getEtag

        public String getEtag()
         For Resource freshness validation (https://google.aip.dev/154)
         
        string etag = 17;
        Specified by:
        getEtag in interface InstanceOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public com.google.protobuf.ByteString getEtagBytes()
         For Resource freshness validation (https://google.aip.dev/154)
         
        string etag = 17;
        Specified by:
        getEtagBytes in interface InstanceOrBuilder
        Returns:
        The bytes for etag.
      • getAnnotationsCount

        public int getAnnotationsCount()
        Description copied from interface: InstanceOrBuilder
         Annotations to allow client tools to store small amount of arbitrary data.
         This is distinct from labels.
         https://google.aip.dev/128
         
        map<string, string> annotations = 18;
        Specified by:
        getAnnotationsCount in interface InstanceOrBuilder
      • containsAnnotations

        public boolean containsAnnotations​(String key)
         Annotations to allow client tools to store small amount of arbitrary data.
         This is distinct from labels.
         https://google.aip.dev/128
         
        map<string, string> annotations = 18;
        Specified by:
        containsAnnotations in interface InstanceOrBuilder
      • getAnnotationsMap

        public Map<String,​String> getAnnotationsMap()
         Annotations to allow client tools to store small amount of arbitrary data.
         This is distinct from labels.
         https://google.aip.dev/128
         
        map<string, string> annotations = 18;
        Specified by:
        getAnnotationsMap in interface InstanceOrBuilder
      • getAnnotationsOrDefault

        public String getAnnotationsOrDefault​(String key,
                                              String defaultValue)
         Annotations to allow client tools to store small amount of arbitrary data.
         This is distinct from labels.
         https://google.aip.dev/128
         
        map<string, string> annotations = 18;
        Specified by:
        getAnnotationsOrDefault in interface InstanceOrBuilder
      • getAnnotationsOrThrow

        public String getAnnotationsOrThrow​(String key)
         Annotations to allow client tools to store small amount of arbitrary data.
         This is distinct from labels.
         https://google.aip.dev/128
         
        map<string, string> annotations = 18;
        Specified by:
        getAnnotationsOrThrow in interface InstanceOrBuilder
      • hasUpdatePolicy

        public boolean hasUpdatePolicy()
         Update policy that will be applied during instance update.
         This field is not persisted when you update the instance.
         To use a non-default update policy, you must
         specify explicitly specify the value in each update request.
         
        .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
        Specified by:
        hasUpdatePolicy in interface InstanceOrBuilder
        Returns:
        Whether the updatePolicy field is set.
      • getUpdatePolicy

        public Instance.UpdatePolicy getUpdatePolicy()
         Update policy that will be applied during instance update.
         This field is not persisted when you update the instance.
         To use a non-default update policy, you must
         specify explicitly specify the value in each update request.
         
        .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
        Specified by:
        getUpdatePolicy in interface InstanceOrBuilder
        Returns:
        The updatePolicy.
      • getUpdatePolicyOrBuilder

        public Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder()
         Update policy that will be applied during instance update.
         This field is not persisted when you update the instance.
         To use a non-default update policy, you must
         specify explicitly specify the value in each update request.
         
        .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
        Specified by:
        getUpdatePolicyOrBuilder in interface InstanceOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 Instance parseFrom​(ByteBuffer data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

        public Instance.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Instance.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Instance.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Instance getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<Instance> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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