@java.lang.Override public com.google.spanner.v1.RollbackRequest getDefaultInstanceForType() { return com.google.spanner.v1.RollbackRequest.getDefaultInstance(); }
/** * * * <pre> * Required. The transaction to roll back. * </pre> * * <code>bytes transaction_id = 2;</code> */ public Builder clearTransactionId() { transactionId_ = getDefaultInstance().getTransactionId(); onChanged(); return this; }
/** * * * <pre> * Required. The session in which the transaction to roll back is running. * </pre> * * <code>string session = 1;</code> */ public Builder clearSession() { session_ = getDefaultInstance().getSession(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.spanner.v1.RollbackRequest other) { if (other == com.google.spanner.v1.RollbackRequest.getDefaultInstance()) return this; if (!other.getSession().isEmpty()) { session_ = other.session_; onChanged(); } if (other.getTransactionId() != com.google.protobuf.ByteString.EMPTY) { setTransactionId(other.getTransactionId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
private static io.grpc.MethodDescriptor< com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty> getRollbackMethodHelper() { io.grpc.MethodDescriptor<com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty> getRollbackMethod; if ((getRollbackMethod = SpannerGrpc.getRollbackMethod) == null) { synchronized (SpannerGrpc.class) { if ((getRollbackMethod = SpannerGrpc.getRollbackMethod) == null) { SpannerGrpc.getRollbackMethod = getRollbackMethod = io.grpc.MethodDescriptor .<com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("google.spanner.v1.Spanner", "Rollback")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.spanner.v1.RollbackRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Rollback")) .build(); } } } return getRollbackMethod; }
private static io.grpc.MethodDescriptor< com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty> getRollbackMethodHelper() { io.grpc.MethodDescriptor<com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty> getRollbackMethod; if ((getRollbackMethod = SpannerGrpc.getRollbackMethod) == null) { synchronized (SpannerGrpc.class) { if ((getRollbackMethod = SpannerGrpc.getRollbackMethod) == null) { SpannerGrpc.getRollbackMethod = getRollbackMethod = io.grpc.MethodDescriptor .<com.google.spanner.v1.RollbackRequest, com.google.protobuf.Empty> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName("google.spanner.v1.Spanner", "Rollback")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.spanner.v1.RollbackRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) .setSchemaDescriptor(new SpannerMethodDescriptorSupplier("Rollback")) .build(); } } } return getRollbackMethod; }