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
     A Memorystore for Memcached instance
     
    Protobuf type google.cloud.memcache.v1beta2.Instance
    See Also:
    Serialized Form
    • Field Detail

      • DISPLAY_NAME_FIELD_NUMBER

        public static final int DISPLAY_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AUTHORIZED_NETWORK_FIELD_NUMBER

        public static final int AUTHORIZED_NETWORK_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NODE_COUNT_FIELD_NUMBER

        public static final int NODE_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NODE_CONFIG_FIELD_NUMBER

        public static final int NODE_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MEMCACHE_VERSION_FIELD_NUMBER

        public static final int MEMCACHE_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARAMETERS_FIELD_NUMBER

        public static final int PARAMETERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MEMCACHE_NODES_FIELD_NUMBER

        public static final int MEMCACHE_NODES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CREATE_TIME_FIELD_NUMBER

        public static final int CREATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPDATE_TIME_FIELD_NUMBER

        public static final int UPDATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MEMCACHE_FULL_VERSION_FIELD_NUMBER

        public static final int MEMCACHE_FULL_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INSTANCE_MESSAGES_FIELD_NUMBER

        public static final int INSTANCE_MESSAGES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DISCOVERY_ENDPOINT_FIELD_NUMBER

        public static final int DISCOVERY_ENDPOINT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPDATE_AVAILABLE_FIELD_NUMBER

        public static final int UPDATE_AVAILABLE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAINTENANCE_POLICY_FIELD_NUMBER

        public static final int MAINTENANCE_POLICY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAINTENANCE_SCHEDULE_FIELD_NUMBER

        public static final int MAINTENANCE_SCHEDULE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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()
         Required. Unique name of the resource in this scope including project and
         location using the form:
             `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
        
         Note: Memcached instances are managed and addressed at the regional level
         so `location_id` here refers to a Google Cloud region; however, users may
         choose which zones Memcached nodes should be provisioned in within an
         instance. Refer to [zones][google.cloud.memcache.v1beta2.Instance.zones] field for more details.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getName in interface InstanceOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. Unique name of the resource in this scope including project and
         location using the form:
             `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
        
         Note: Memcached instances are managed and addressed at the regional level
         so `location_id` here refers to a Google Cloud region; however, users may
         choose which zones Memcached nodes should be provisioned in within an
         instance. Refer to [zones][google.cloud.memcache.v1beta2.Instance.zones] field for more details.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameBytes in interface InstanceOrBuilder
        Returns:
        The bytes for name.
      • getDisplayName

        public String getDisplayName()
         User provided name for the instance, which is only used for display
         purposes. Cannot be more than 80 characters.
         
        string display_name = 2;
        Specified by:
        getDisplayName in interface InstanceOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         User provided name for the instance, which is only used for display
         purposes. Cannot be more than 80 characters.
         
        string display_name = 2;
        Specified by:
        getDisplayNameBytes in interface InstanceOrBuilder
        Returns:
        The bytes for displayName.
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: InstanceOrBuilder
         Resource labels to represent user-provided metadata.
         Refer to cloud documentation on labels for more details.
         https://cloud.google.com/compute/docs/labeling-resources
         
        map<string, string> labels = 3;
        Specified by:
        getLabelsCount in interface InstanceOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Resource labels to represent user-provided metadata.
         Refer to cloud documentation on labels for more details.
         https://cloud.google.com/compute/docs/labeling-resources
         
        map<string, string> labels = 3;
        Specified by:
        containsLabels in interface InstanceOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Resource labels to represent user-provided metadata.
         Refer to cloud documentation on labels for more details.
         https://cloud.google.com/compute/docs/labeling-resources
         
        map<string, string> labels = 3;
        Specified by:
        getLabelsMap in interface InstanceOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Resource labels to represent user-provided metadata.
         Refer to cloud documentation on labels for more details.
         https://cloud.google.com/compute/docs/labeling-resources
         
        map<string, string> labels = 3;
        Specified by:
        getLabelsOrDefault in interface InstanceOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Resource labels to represent user-provided metadata.
         Refer to cloud documentation on labels for more details.
         https://cloud.google.com/compute/docs/labeling-resources
         
        map<string, string> labels = 3;
        Specified by:
        getLabelsOrThrow in interface InstanceOrBuilder
      • getAuthorizedNetwork

        public String getAuthorizedNetwork()
         The full name of the Google Compute Engine
         [network](https://cloud.google.com/vpc/docs/vpc) to which the
         instance is connected. If left unspecified, the `default` network
         will be used.
         
        string authorized_network = 4;
        Specified by:
        getAuthorizedNetwork in interface InstanceOrBuilder
        Returns:
        The authorizedNetwork.
      • getAuthorizedNetworkBytes

        public com.google.protobuf.ByteString getAuthorizedNetworkBytes()
         The full name of the Google Compute Engine
         [network](https://cloud.google.com/vpc/docs/vpc) to which the
         instance is connected. If left unspecified, the `default` network
         will be used.
         
        string authorized_network = 4;
        Specified by:
        getAuthorizedNetworkBytes in interface InstanceOrBuilder
        Returns:
        The bytes for authorizedNetwork.
      • getZonesList

        public com.google.protobuf.ProtocolStringList getZonesList()
         Zones in which Memcached nodes should be provisioned.
         Memcached nodes will be equally distributed across these zones. If not
         provided, the service will by default create nodes in all zones in the
         region for the instance.
         
        repeated string zones = 5;
        Specified by:
        getZonesList in interface InstanceOrBuilder
        Returns:
        A list containing the zones.
      • getZonesCount

        public int getZonesCount()
         Zones in which Memcached nodes should be provisioned.
         Memcached nodes will be equally distributed across these zones. If not
         provided, the service will by default create nodes in all zones in the
         region for the instance.
         
        repeated string zones = 5;
        Specified by:
        getZonesCount in interface InstanceOrBuilder
        Returns:
        The count of zones.
      • getZones

        public String getZones​(int index)
         Zones in which Memcached nodes should be provisioned.
         Memcached nodes will be equally distributed across these zones. If not
         provided, the service will by default create nodes in all zones in the
         region for the instance.
         
        repeated string zones = 5;
        Specified by:
        getZones in interface InstanceOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The zones at the given index.
      • getZonesBytes

        public com.google.protobuf.ByteString getZonesBytes​(int index)
         Zones in which Memcached nodes should be provisioned.
         Memcached nodes will be equally distributed across these zones. If not
         provided, the service will by default create nodes in all zones in the
         region for the instance.
         
        repeated string zones = 5;
        Specified by:
        getZonesBytes in interface InstanceOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the zones at the given index.
      • getNodeCount

        public int getNodeCount()
         Required. Number of nodes in the Memcached instance.
         
        int32 node_count = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNodeCount in interface InstanceOrBuilder
        Returns:
        The nodeCount.
      • hasNodeConfig

        public boolean hasNodeConfig()
         Required. Configuration for Memcached nodes.
         
        .google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasNodeConfig in interface InstanceOrBuilder
        Returns:
        Whether the nodeConfig field is set.
      • getNodeConfig

        public Instance.NodeConfig getNodeConfig()
         Required. Configuration for Memcached nodes.
         
        .google.cloud.memcache.v1beta2.Instance.NodeConfig node_config = 7 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNodeConfig in interface InstanceOrBuilder
        Returns:
        The nodeConfig.
      • getMemcacheVersionValue

        public int getMemcacheVersionValue()
         The major version of Memcached software.
         If not provided, latest supported version will be used. Currently the
         latest supported major version is `MEMCACHE_1_5`.
         The minor version will be automatically determined by our system based on
         the latest supported minor version.
         
        .google.cloud.memcache.v1beta2.MemcacheVersion memcache_version = 9;
        Specified by:
        getMemcacheVersionValue in interface InstanceOrBuilder
        Returns:
        The enum numeric value on the wire for memcacheVersion.
      • getMemcacheVersion

        public MemcacheVersion getMemcacheVersion()
         The major version of Memcached software.
         If not provided, latest supported version will be used. Currently the
         latest supported major version is `MEMCACHE_1_5`.
         The minor version will be automatically determined by our system based on
         the latest supported minor version.
         
        .google.cloud.memcache.v1beta2.MemcacheVersion memcache_version = 9;
        Specified by:
        getMemcacheVersion in interface InstanceOrBuilder
        Returns:
        The memcacheVersion.
      • hasParameters

        public boolean hasParameters()
         User defined parameters to apply to the memcached process
         on each node.
         
        .google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;
        Specified by:
        hasParameters in interface InstanceOrBuilder
        Returns:
        Whether the parameters field is set.
      • getParameters

        public MemcacheParameters getParameters()
         User defined parameters to apply to the memcached process
         on each node.
         
        .google.cloud.memcache.v1beta2.MemcacheParameters parameters = 11;
        Specified by:
        getParameters in interface InstanceOrBuilder
        Returns:
        The parameters.
      • getMemcacheNodesList

        public List<Instance.Node> getMemcacheNodesList()
         Output only. List of Memcached nodes.
         Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
         
        repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMemcacheNodesList in interface InstanceOrBuilder
      • getMemcacheNodesOrBuilderList

        public List<? extends Instance.NodeOrBuilder> getMemcacheNodesOrBuilderList()
         Output only. List of Memcached nodes.
         Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
         
        repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMemcacheNodesOrBuilderList in interface InstanceOrBuilder
      • getMemcacheNodesCount

        public int getMemcacheNodesCount()
         Output only. List of Memcached nodes.
         Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
         
        repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMemcacheNodesCount in interface InstanceOrBuilder
      • getMemcacheNodes

        public Instance.Node getMemcacheNodes​(int index)
         Output only. List of Memcached nodes.
         Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
         
        repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMemcacheNodes in interface InstanceOrBuilder
      • getMemcacheNodesOrBuilder

        public Instance.NodeOrBuilder getMemcacheNodesOrBuilder​(int index)
         Output only. List of Memcached nodes.
         Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
         
        repeated .google.cloud.memcache.v1beta2.Instance.Node memcache_nodes = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMemcacheNodesOrBuilder in interface InstanceOrBuilder
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 13 [(.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. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface InstanceOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface InstanceOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The time the instance was updated.
         
        .google.protobuf.Timestamp update_time = 14 [(.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. The time the instance was updated.
         
        .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface InstanceOrBuilder
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The time the instance was updated.
         
        .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface InstanceOrBuilder
      • getStateValue

        public int getStateValue()
         Output only. The state of this Memcached instance.
         
        .google.cloud.memcache.v1beta2.Instance.State state = 15 [(.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 state of this Memcached instance.
         
        .google.cloud.memcache.v1beta2.Instance.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface InstanceOrBuilder
        Returns:
        The state.
      • getMemcacheFullVersion

        public String getMemcacheFullVersion()
         Output only. The full version of memcached server running on this instance.
         System automatically determines the full memcached version for an instance
         based on the input MemcacheVersion.
         The full version format will be "memcached-1.5.16".
         
        string memcache_full_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMemcacheFullVersion in interface InstanceOrBuilder
        Returns:
        The memcacheFullVersion.
      • getMemcacheFullVersionBytes

        public com.google.protobuf.ByteString getMemcacheFullVersionBytes()
         Output only. The full version of memcached server running on this instance.
         System automatically determines the full memcached version for an instance
         based on the input MemcacheVersion.
         The full version format will be "memcached-1.5.16".
         
        string memcache_full_version = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMemcacheFullVersionBytes in interface InstanceOrBuilder
        Returns:
        The bytes for memcacheFullVersion.
      • getInstanceMessagesCount

        public int getInstanceMessagesCount()
         List of messages that describe the current state of the Memcached instance.
         
        repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
        Specified by:
        getInstanceMessagesCount in interface InstanceOrBuilder
      • getInstanceMessages

        public Instance.InstanceMessage getInstanceMessages​(int index)
         List of messages that describe the current state of the Memcached instance.
         
        repeated .google.cloud.memcache.v1beta2.Instance.InstanceMessage instance_messages = 19;
        Specified by:
        getInstanceMessages in interface InstanceOrBuilder
      • getDiscoveryEndpoint

        public String getDiscoveryEndpoint()
         Output only. Endpoint for the Discovery API.
         
        string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDiscoveryEndpoint in interface InstanceOrBuilder
        Returns:
        The discoveryEndpoint.
      • getDiscoveryEndpointBytes

        public com.google.protobuf.ByteString getDiscoveryEndpointBytes()
         Output only. Endpoint for the Discovery API.
         
        string discovery_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDiscoveryEndpointBytes in interface InstanceOrBuilder
        Returns:
        The bytes for discoveryEndpoint.
      • getUpdateAvailable

        public boolean getUpdateAvailable()
         Output only. Returns true if there is an update waiting to be applied
         
        bool update_available = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateAvailable in interface InstanceOrBuilder
        Returns:
        The updateAvailable.
      • hasMaintenancePolicy

        public boolean hasMaintenancePolicy()
         The maintenance policy for the instance. If not provided,
         the maintenance event will be performed based on Memorystore
         internal rollout schedule.
         
        .google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;
        Specified by:
        hasMaintenancePolicy in interface InstanceOrBuilder
        Returns:
        Whether the maintenancePolicy field is set.
      • getMaintenancePolicy

        public MaintenancePolicy getMaintenancePolicy()
         The maintenance policy for the instance. If not provided,
         the maintenance event will be performed based on Memorystore
         internal rollout schedule.
         
        .google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;
        Specified by:
        getMaintenancePolicy in interface InstanceOrBuilder
        Returns:
        The maintenancePolicy.
      • getMaintenancePolicyOrBuilder

        public MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
         The maintenance policy for the instance. If not provided,
         the maintenance event will be performed based on Memorystore
         internal rollout schedule.
         
        .google.cloud.memcache.v1beta2.MaintenancePolicy maintenance_policy = 22;
        Specified by:
        getMaintenancePolicyOrBuilder in interface InstanceOrBuilder
      • hasMaintenanceSchedule

        public boolean hasMaintenanceSchedule()
         Output only. Published maintenance schedule.
         
        .google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasMaintenanceSchedule in interface InstanceOrBuilder
        Returns:
        Whether the maintenanceSchedule field is set.
      • getMaintenanceSchedule

        public MaintenanceSchedule getMaintenanceSchedule()
         Output only. Published maintenance schedule.
         
        .google.cloud.memcache.v1beta2.MaintenanceSchedule maintenance_schedule = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMaintenanceSchedule in interface InstanceOrBuilder
        Returns:
        The maintenanceSchedule.
      • 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