nl.topicus.jdbc.shaded.com.google.spanner.v1.SessionOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spanner-jdbc Show documentation
Show all versions of spanner-jdbc Show documentation
JDBC Driver for Google Cloud Spanner
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/spanner/v1/spanner.proto
package nl.topicus.jdbc.shaded.com.google.spanner.v1;
public interface SessionOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.spanner.v1.Session)
nl.topicus.jdbc.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
* The name of the session. This is always system-assigned; values provided
* when creating a session are ignored.
*
*
* string name = 1;
*/
java.lang.String getName();
/**
*
* The name of the session. This is always system-assigned; values provided
* when creating a session are ignored.
*
*
* string name = 1;
*/
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString
getNameBytes();
/**
*
* The labels for the session.
* * Label keys must be between 1 and 63 characters long and must conform to
* the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
* * Label values must be between 0 and 63 characters long and must conform
* to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
* * No more than 64 labels can be associated with a given session.
* See https://goo.gl/xmQnxf for more information on and examples of labels.
*
*
* map<string, string> labels = 2;
*/
int getLabelsCount();
/**
*
* The labels for the session.
* * Label keys must be between 1 and 63 characters long and must conform to
* the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
* * Label values must be between 0 and 63 characters long and must conform
* to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
* * No more than 64 labels can be associated with a given session.
* See https://goo.gl/xmQnxf for more information on and examples of labels.
*
*
* map<string, string> labels = 2;
*/
boolean containsLabels(
java.lang.String key);
/**
* Use {@link #getLabelsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getLabels();
/**
*
* The labels for the session.
* * Label keys must be between 1 and 63 characters long and must conform to
* the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
* * Label values must be between 0 and 63 characters long and must conform
* to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
* * No more than 64 labels can be associated with a given session.
* See https://goo.gl/xmQnxf for more information on and examples of labels.
*
*
* map<string, string> labels = 2;
*/
java.util.Map
getLabelsMap();
/**
*
* The labels for the session.
* * Label keys must be between 1 and 63 characters long and must conform to
* the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
* * Label values must be between 0 and 63 characters long and must conform
* to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
* * No more than 64 labels can be associated with a given session.
* See https://goo.gl/xmQnxf for more information on and examples of labels.
*
*
* map<string, string> labels = 2;
*/
java.lang.String getLabelsOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
*
* The labels for the session.
* * Label keys must be between 1 and 63 characters long and must conform to
* the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
* * Label values must be between 0 and 63 characters long and must conform
* to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
* * No more than 64 labels can be associated with a given session.
* See https://goo.gl/xmQnxf for more information on and examples of labels.
*
*
* map<string, string> labels = 2;
*/
java.lang.String getLabelsOrThrow(
java.lang.String key);
/**
*
* Output only. The timestamp when the session is created.
*
*
* .google.protobuf.Timestamp create_time = 3;
*/
boolean hasCreateTime();
/**
*
* Output only. The timestamp when the session is created.
*
*
* .google.protobuf.Timestamp create_time = 3;
*/
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp getCreateTime();
/**
*
* Output only. The timestamp when the session is created.
*
*
* .google.protobuf.Timestamp create_time = 3;
*/
nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
* Output only. The approximate timestamp when the session is last used. It is
* typically earlier than the actual last use time.
*
*
* .google.protobuf.Timestamp approximate_last_use_time = 4;
*/
boolean hasApproximateLastUseTime();
/**
*
* Output only. The approximate timestamp when the session is last used. It is
* typically earlier than the actual last use time.
*
*
* .google.protobuf.Timestamp approximate_last_use_time = 4;
*/
nl.topicus.jdbc.shaded.com.google.protobuf.Timestamp getApproximateLastUseTime();
/**
*
* Output only. The approximate timestamp when the session is last used. It is
* typically earlier than the actual last use time.
*
*
* .google.protobuf.Timestamp approximate_last_use_time = 4;
*/
nl.topicus.jdbc.shaded.com.google.protobuf.TimestampOrBuilder getApproximateLastUseTimeOrBuilder();
}