Class HttpJsonVpcFlowLogsServiceStub
java.lang.Object
com.google.cloud.networkmanagement.v1beta1.stub.VpcFlowLogsServiceStub
com.google.cloud.networkmanagement.v1beta1.stub.HttpJsonVpcFlowLogsServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class HttpJsonVpcFlowLogsServiceStub
extends VpcFlowLogsServiceStub
REST stub implementation for the VpcFlowLogsService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonVpcFlowLogsServiceStub(VpcFlowLogsServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonVpcFlowLogsServiceStub, using the given settings.protectedHttpJsonVpcFlowLogsServiceStub(VpcFlowLogsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonVpcFlowLogsServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonVpcFlowLogsServiceStubcreate(ClientContext clientContext) static final HttpJsonVpcFlowLogsServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonVpcFlowLogsServiceStubcreate(VpcFlowLogsServiceStubSettings settings) OperationCallable<DeleteVpcFlowLogsConfigRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListVpcFlowLogsConfigsRequest,VpcFlowLogsServiceClient.ListVpcFlowLogsConfigsPagedResponse> UnaryCallable<QueryOrgVpcFlowLogsConfigsRequest,VpcFlowLogsServiceClient.QueryOrgVpcFlowLogsConfigsPagedResponse> UnaryCallable<ShowEffectiveFlowLogsConfigsRequest,VpcFlowLogsServiceClient.ShowEffectiveFlowLogsConfigsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.networkmanagement.v1beta1.stub.VpcFlowLogsServiceStub
getOperationsStub
-
Constructor Details
-
HttpJsonVpcFlowLogsServiceStub
protected HttpJsonVpcFlowLogsServiceStub(VpcFlowLogsServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonVpcFlowLogsServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
HttpJsonVpcFlowLogsServiceStub
protected HttpJsonVpcFlowLogsServiceStub(VpcFlowLogsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonVpcFlowLogsServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonVpcFlowLogsServiceStub create(VpcFlowLogsServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonVpcFlowLogsServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonVpcFlowLogsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classVpcFlowLogsServiceStub
-
listVpcFlowLogsConfigsCallable
public UnaryCallable<ListVpcFlowLogsConfigsRequest,ListVpcFlowLogsConfigsResponse> listVpcFlowLogsConfigsCallable()- Overrides:
listVpcFlowLogsConfigsCallablein classVpcFlowLogsServiceStub
-
listVpcFlowLogsConfigsPagedCallable
public UnaryCallable<ListVpcFlowLogsConfigsRequest,VpcFlowLogsServiceClient.ListVpcFlowLogsConfigsPagedResponse> listVpcFlowLogsConfigsPagedCallable()- Overrides:
listVpcFlowLogsConfigsPagedCallablein classVpcFlowLogsServiceStub
-
getVpcFlowLogsConfigCallable
- Overrides:
getVpcFlowLogsConfigCallablein classVpcFlowLogsServiceStub
-
createVpcFlowLogsConfigCallable
- Overrides:
createVpcFlowLogsConfigCallablein classVpcFlowLogsServiceStub
-
createVpcFlowLogsConfigOperationCallable
public OperationCallable<CreateVpcFlowLogsConfigRequest,VpcFlowLogsConfig, createVpcFlowLogsConfigOperationCallable()OperationMetadata> - Overrides:
createVpcFlowLogsConfigOperationCallablein classVpcFlowLogsServiceStub
-
updateVpcFlowLogsConfigCallable
- Overrides:
updateVpcFlowLogsConfigCallablein classVpcFlowLogsServiceStub
-
updateVpcFlowLogsConfigOperationCallable
public OperationCallable<UpdateVpcFlowLogsConfigRequest,VpcFlowLogsConfig, updateVpcFlowLogsConfigOperationCallable()OperationMetadata> - Overrides:
updateVpcFlowLogsConfigOperationCallablein classVpcFlowLogsServiceStub
-
deleteVpcFlowLogsConfigCallable
- Overrides:
deleteVpcFlowLogsConfigCallablein classVpcFlowLogsServiceStub
-
deleteVpcFlowLogsConfigOperationCallable
public OperationCallable<DeleteVpcFlowLogsConfigRequest,com.google.protobuf.Empty, deleteVpcFlowLogsConfigOperationCallable()OperationMetadata> - Overrides:
deleteVpcFlowLogsConfigOperationCallablein classVpcFlowLogsServiceStub
-
queryOrgVpcFlowLogsConfigsCallable
public UnaryCallable<QueryOrgVpcFlowLogsConfigsRequest,QueryOrgVpcFlowLogsConfigsResponse> queryOrgVpcFlowLogsConfigsCallable()- Overrides:
queryOrgVpcFlowLogsConfigsCallablein classVpcFlowLogsServiceStub
-
queryOrgVpcFlowLogsConfigsPagedCallable
public UnaryCallable<QueryOrgVpcFlowLogsConfigsRequest,VpcFlowLogsServiceClient.QueryOrgVpcFlowLogsConfigsPagedResponse> queryOrgVpcFlowLogsConfigsPagedCallable()- Overrides:
queryOrgVpcFlowLogsConfigsPagedCallablein classVpcFlowLogsServiceStub
-
showEffectiveFlowLogsConfigsCallable
public UnaryCallable<ShowEffectiveFlowLogsConfigsRequest,ShowEffectiveFlowLogsConfigsResponse> showEffectiveFlowLogsConfigsCallable()- Overrides:
showEffectiveFlowLogsConfigsCallablein classVpcFlowLogsServiceStub
-
showEffectiveFlowLogsConfigsPagedCallable
public UnaryCallable<ShowEffectiveFlowLogsConfigsRequest,VpcFlowLogsServiceClient.ShowEffectiveFlowLogsConfigsPagedResponse> showEffectiveFlowLogsConfigsPagedCallable()- Overrides:
showEffectiveFlowLogsConfigsPagedCallablein classVpcFlowLogsServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classVpcFlowLogsServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,VpcFlowLogsServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classVpcFlowLogsServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classVpcFlowLogsServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classVpcFlowLogsServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classVpcFlowLogsServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classVpcFlowLogsServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classVpcFlowLogsServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-