Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/integration/goldens/redis/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package(default_visibility = ["//visibility:public"])

filegroup(
name = "redis_goldens_files",
srcs = glob(["*.java"]),
)
1,634 changes: 1,634 additions & 0 deletions test/integration/goldens/redis/CloudRedisClient.java

Large diffs are not rendered by default.

738 changes: 738 additions & 0 deletions test/integration/goldens/redis/CloudRedisClientTest.java

Large diffs are not rendered by default.

380 changes: 380 additions & 0 deletions test/integration/goldens/redis/CloudRedisSettings.java

Large diffs are not rendered by default.

141 changes: 141 additions & 0 deletions test/integration/goldens/redis/CloudRedisStub.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.cloud.redis.v1.stub;

import static com.google.cloud.redis.v1.CloudRedisClient.ListInstancesPagedResponse;

import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.redis.v1.CreateInstanceRequest;
import com.google.cloud.redis.v1.DeleteInstanceRequest;
import com.google.cloud.redis.v1.ExportInstanceRequest;
import com.google.cloud.redis.v1.FailoverInstanceRequest;
import com.google.cloud.redis.v1.GetInstanceRequest;
import com.google.cloud.redis.v1.ImportInstanceRequest;
import com.google.cloud.redis.v1.Instance;
import com.google.cloud.redis.v1.ListInstancesRequest;
import com.google.cloud.redis.v1.ListInstancesResponse;
import com.google.cloud.redis.v1.OperationMetadata;
import com.google.cloud.redis.v1.UpdateInstanceRequest;
import com.google.cloud.redis.v1.UpgradeInstanceRequest;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.OperationsStub;
import com.google.protobuf.Empty;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
* Base stub class for Google Cloud Memorystore for Redis API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator")
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public abstract class CloudRedisStub implements BackgroundResource {

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationsStub getOperationsStub() {
throw new UnsupportedOperationException("Not implemented: getOperationsStub()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<CreateInstanceRequest, Instance, OperationMetadata>
createInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: createInstanceOperationCallable()");
}

public UnaryCallable<CreateInstanceRequest, Operation> createInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: createInstanceCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<UpdateInstanceRequest, Instance, OperationMetadata>
updateInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: updateInstanceOperationCallable()");
}

public UnaryCallable<UpdateInstanceRequest, Operation> updateInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: updateInstanceCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<ImportInstanceRequest, Instance, OperationMetadata>
importInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: importInstanceOperationCallable()");
}

public UnaryCallable<ImportInstanceRequest, Operation> importInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: importInstanceCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<ExportInstanceRequest, Instance, OperationMetadata>
exportInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: exportInstanceOperationCallable()");
}

public UnaryCallable<ExportInstanceRequest, Operation> exportInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: exportInstanceCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<FailoverInstanceRequest, Instance, OperationMetadata>
failoverInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: failoverInstanceOperationCallable()");
}

public UnaryCallable<FailoverInstanceRequest, Operation> failoverInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: failoverInstanceCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<DeleteInstanceRequest, Empty, OperationMetadata>
deleteInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: deleteInstanceOperationCallable()");
}

public UnaryCallable<DeleteInstanceRequest, Operation> deleteInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: deleteInstanceCallable()");
}

public UnaryCallable<ListInstancesRequest, ListInstancesPagedResponse>
listInstancesPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listInstancesPagedCallable()");
}

public UnaryCallable<ListInstancesRequest, ListInstancesResponse> listInstancesCallable() {
throw new UnsupportedOperationException("Not implemented: listInstancesCallable()");
}

public UnaryCallable<GetInstanceRequest, Instance> getInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: getInstanceCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<UpgradeInstanceRequest, Instance, OperationMetadata>
upgradeInstanceOperationCallable() {
throw new UnsupportedOperationException("Not implemented: upgradeInstanceOperationCallable()");
}

public UnaryCallable<UpgradeInstanceRequest, Operation> upgradeInstanceCallable() {
throw new UnsupportedOperationException("Not implemented: upgradeInstanceCallable()");
}

@Override
public abstract void close();
}
Loading