@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonInstanceStub extends InstanceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonInstanceStub(InstanceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonInstanceStub, using the given settings.
|
protected |
HttpJsonInstanceStub(InstanceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonInstanceStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AddAccessConfigInstanceHttpRequest,Operation> addAccessConfigInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListInstancesHttpRequest,InstanceAggregatedList> aggregatedListInstancesMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AttachDiskInstanceHttpRequest,Operation> attachDiskInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteInstanceHttpRequest,Operation> deleteInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteAccessConfigInstanceHttpRequest,Operation> deleteAccessConfigInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DetachDiskInstanceHttpRequest,Operation> detachDiskInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetInstanceHttpRequest,Instance> getInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetGuestAttributesInstanceHttpRequest,GuestAttributes> getGuestAttributesInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetIamPolicyInstanceHttpRequest,Policy> getIamPolicyInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetSerialPortOutputInstanceHttpRequest,SerialPortOutput> getSerialPortOutputInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetShieldedInstanceIdentityInstanceHttpRequest,ShieldedInstanceIdentity> getShieldedInstanceIdentityInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertInstanceHttpRequest,Operation> insertInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListInstancesHttpRequest,InstanceList> listInstancesMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListReferrersInstancesHttpRequest,InstanceListReferrers> listReferrersInstancesMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ResetInstanceHttpRequest,Operation> resetInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetDeletionProtectionInstanceHttpRequest,Operation> setDeletionProtectionInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetDiskAutoDeleteInstanceHttpRequest,Operation> setDiskAutoDeleteInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetIamPolicyInstanceHttpRequest,Policy> setIamPolicyInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetLabelsInstanceHttpRequest,Operation> setLabelsInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetMachineResourcesInstanceHttpRequest,Operation> setMachineResourcesInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetMachineTypeInstanceHttpRequest,Operation> setMachineTypeInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetMetadataInstanceHttpRequest,Operation> setMetadataInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetMinCpuPlatformInstanceHttpRequest,Operation> setMinCpuPlatformInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetSchedulingInstanceHttpRequest,Operation> setSchedulingInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetServiceAccountInstanceHttpRequest,Operation> setServiceAccountInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetShieldedInstanceIntegrityPolicyInstanceHttpRequest,Operation> setShieldedInstanceIntegrityPolicyInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetTagsInstanceHttpRequest,Operation> setTagsInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SimulateMaintenanceEventInstanceHttpRequest,Operation> simulateMaintenanceEventInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<StartInstanceHttpRequest,Operation> startInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<StartWithEncryptionKeyInstanceHttpRequest,Operation> startWithEncryptionKeyInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<StopInstanceHttpRequest,Operation> stopInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<TestIamPermissionsInstanceHttpRequest,TestPermissionsResponse> testIamPermissionsInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<UpdateAccessConfigInstanceHttpRequest,Operation> updateAccessConfigInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<UpdateDisplayDeviceInstanceHttpRequest,Operation> updateDisplayDeviceInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<UpdateNetworkInterfaceInstanceHttpRequest,Operation> updateNetworkInterfaceInstanceMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<UpdateShieldedInstanceConfigInstanceHttpRequest,Operation> updateShieldedInstanceConfigInstanceMethodDescriptor
protected HttpJsonInstanceStub(InstanceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonInstanceStub(InstanceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonInstanceStub create(InstanceStubSettings settings) throws IOException
IOException
public static final HttpJsonInstanceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonInstanceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AddAccessConfigInstanceHttpRequest,Operation> addAccessConfigInstanceCallable()
addAccessConfigInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListInstancesHttpRequest,InstanceClient.AggregatedListInstancesPagedResponse> aggregatedListInstancesPagedCallable()
aggregatedListInstancesPagedCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListInstancesHttpRequest,InstanceAggregatedList> aggregatedListInstancesCallable()
aggregatedListInstancesCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AttachDiskInstanceHttpRequest,Operation> attachDiskInstanceCallable()
attachDiskInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<DeleteInstanceHttpRequest,Operation> deleteInstanceCallable()
deleteInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<DeleteAccessConfigInstanceHttpRequest,Operation> deleteAccessConfigInstanceCallable()
deleteAccessConfigInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<DetachDiskInstanceHttpRequest,Operation> detachDiskInstanceCallable()
detachDiskInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetInstanceHttpRequest,Instance> getInstanceCallable()
getInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetGuestAttributesInstanceHttpRequest,GuestAttributes> getGuestAttributesInstanceCallable()
getGuestAttributesInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetIamPolicyInstanceHttpRequest,Policy> getIamPolicyInstanceCallable()
getIamPolicyInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetSerialPortOutputInstanceHttpRequest,SerialPortOutput> getSerialPortOutputInstanceCallable()
getSerialPortOutputInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetShieldedInstanceIdentityInstanceHttpRequest,ShieldedInstanceIdentity> getShieldedInstanceIdentityInstanceCallable()
getShieldedInstanceIdentityInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertInstanceHttpRequest,Operation> insertInstanceCallable()
insertInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListInstancesHttpRequest,InstanceClient.ListInstancesPagedResponse> listInstancesPagedCallable()
listInstancesPagedCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListInstancesHttpRequest,InstanceList> listInstancesCallable()
listInstancesCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListReferrersInstancesHttpRequest,InstanceClient.ListReferrersInstancesPagedResponse> listReferrersInstancesPagedCallable()
listReferrersInstancesPagedCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListReferrersInstancesHttpRequest,InstanceListReferrers> listReferrersInstancesCallable()
listReferrersInstancesCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ResetInstanceHttpRequest,Operation> resetInstanceCallable()
resetInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetDeletionProtectionInstanceHttpRequest,Operation> setDeletionProtectionInstanceCallable()
setDeletionProtectionInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetDiskAutoDeleteInstanceHttpRequest,Operation> setDiskAutoDeleteInstanceCallable()
setDiskAutoDeleteInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetIamPolicyInstanceHttpRequest,Policy> setIamPolicyInstanceCallable()
setIamPolicyInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetLabelsInstanceHttpRequest,Operation> setLabelsInstanceCallable()
setLabelsInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetMachineResourcesInstanceHttpRequest,Operation> setMachineResourcesInstanceCallable()
setMachineResourcesInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetMachineTypeInstanceHttpRequest,Operation> setMachineTypeInstanceCallable()
setMachineTypeInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetMetadataInstanceHttpRequest,Operation> setMetadataInstanceCallable()
setMetadataInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetMinCpuPlatformInstanceHttpRequest,Operation> setMinCpuPlatformInstanceCallable()
setMinCpuPlatformInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetSchedulingInstanceHttpRequest,Operation> setSchedulingInstanceCallable()
setSchedulingInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetServiceAccountInstanceHttpRequest,Operation> setServiceAccountInstanceCallable()
setServiceAccountInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetShieldedInstanceIntegrityPolicyInstanceHttpRequest,Operation> setShieldedInstanceIntegrityPolicyInstanceCallable()
setShieldedInstanceIntegrityPolicyInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetTagsInstanceHttpRequest,Operation> setTagsInstanceCallable()
setTagsInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SimulateMaintenanceEventInstanceHttpRequest,Operation> simulateMaintenanceEventInstanceCallable()
simulateMaintenanceEventInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<StartInstanceHttpRequest,Operation> startInstanceCallable()
startInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<StartWithEncryptionKeyInstanceHttpRequest,Operation> startWithEncryptionKeyInstanceCallable()
startWithEncryptionKeyInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<StopInstanceHttpRequest,Operation> stopInstanceCallable()
stopInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<TestIamPermissionsInstanceHttpRequest,TestPermissionsResponse> testIamPermissionsInstanceCallable()
testIamPermissionsInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<UpdateAccessConfigInstanceHttpRequest,Operation> updateAccessConfigInstanceCallable()
updateAccessConfigInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<UpdateDisplayDeviceInstanceHttpRequest,Operation> updateDisplayDeviceInstanceCallable()
updateDisplayDeviceInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<UpdateNetworkInterfaceInstanceHttpRequest,Operation> updateNetworkInterfaceInstanceCallable()
updateNetworkInterfaceInstanceCallable
in class InstanceStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<UpdateShieldedInstanceConfigInstanceHttpRequest,Operation> updateShieldedInstanceConfigInstanceCallable()
updateShieldedInstanceConfigInstanceCallable
in class InstanceStub
public final void close()
close
in interface AutoCloseable
close
in class InstanceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.