Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/spanner/v1/spanner.proto
package nl.topicus.jdbc.shaded.com.google.spanner.v1;
/**
*
* The request for [GetSession][google.spanner.v1.Spanner.GetSession].
*
*
* Protobuf type {@code google.spanner.v1.GetSessionRequest}
*/
public final class GetSessionRequest extends
nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.spanner.v1.GetSessionRequest)
GetSessionRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetSessionRequest.newBuilder() to construct.
private GetSessionRequest(nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private GetSessionRequest() {
name_ = "";
}
@java.lang.Override
public final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetSessionRequest(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
}
}
} catch (nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final nl.topicus.jdbc.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return nl.topicus.jdbc.shaded.com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_descriptor;
}
protected nl.topicus.jdbc.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return nl.topicus.jdbc.shaded.com.google.spanner.v1.SpannerProto.internal_static_google_spanner_v1_GetSessionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
nl.topicus.jdbc.shaded.com.google.spanner.v1.GetSessionRequest.class, nl.topicus.jdbc.shaded.com.google.spanner.v1.GetSessionRequest.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* Required. The name of the session to retrieve.
*
* Required. The name of the session to retrieve.
*
*
* string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* Required. The name of the session to retrieve.
*
*
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Required. The name of the session to retrieve.
*
*
* string name = 1;
*/
public Builder setNameBytes(
nl.topicus.jdbc.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final nl.topicus.jdbc.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
/**
* @deprecated Use the following instead:
*
* protoBuilder.setName(sessionName.toString());
*
*/
@Deprecated
public final Builder setNameWithSessionName(nl.topicus.jdbc.shaded.com.google.spanner.v1.SessionName value) {
if (value == null) {
return setName("");
}
return setName(value.toString());
}
/**
* @deprecated Use the following instead:
*
* SessionName.parse(protoBuilder.getName());
*
*/
@Deprecated
public final nl.topicus.jdbc.shaded.com.google.spanner.v1.SessionName getNameAsSessionName() {
java.lang.String str = getName();
if (str.isEmpty()) {
return null;
}
return nl.topicus.jdbc.shaded.com.google.spanner.v1.SessionName.parse(str);
}
// @@protoc_insertion_point(builder_scope:google.spanner.v1.GetSessionRequest)
}
/**
* @deprecated Use the following instead:
*
* SessionName.parse(protoObject.getName());
*
*/
@Deprecated
public final nl.topicus.jdbc.shaded.com.google.spanner.v1.SessionName getNameAsSessionName() {
java.lang.String str = getName();
if (str.isEmpty()) {
return null;
}
return nl.topicus.jdbc.shaded.com.google.spanner.v1.SessionName.parse(str);
}
// @@protoc_insertion_point(class_scope:google.spanner.v1.GetSessionRequest)
private static final nl.topicus.jdbc.shaded.com.google.spanner.v1.GetSessionRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new nl.topicus.jdbc.shaded.com.google.spanner.v1.GetSessionRequest();
}
public static nl.topicus.jdbc.shaded.com.google.spanner.v1.GetSessionRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final nl.topicus.jdbc.shaded.com.google.protobuf.Parser
PARSER = new nl.topicus.jdbc.shaded.com.google.protobuf.AbstractParser() {
public GetSessionRequest parsePartialFrom(
nl.topicus.jdbc.shaded.com.google.protobuf.CodedInputStream input,
nl.topicus.jdbc.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws nl.topicus.jdbc.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new GetSessionRequest(input, extensionRegistry);
}
};
public static nl.topicus.jdbc.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public nl.topicus.jdbc.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public nl.topicus.jdbc.shaded.com.google.spanner.v1.GetSessionRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}