public class HttpJsonGDCHardwareManagementStub extends GDCHardwareManagementStub
REST stub implementation for the GDCHardwareManagement service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonGDCHardwareManagementStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonGDCHardwareManagementStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonGDCHardwareManagementStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonGDCHardwareManagementStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(GDCHardwareManagementStubSettings settings)
public static final HttpJsonGDCHardwareManagementStub create(GDCHardwareManagementStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
GDCHardwareManagementStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonGDCHardwareManagementStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonGDCHardwareManagementStub(GDCHardwareManagementStubSettings settings, ClientContext clientContext)
protected HttpJsonGDCHardwareManagementStub(GDCHardwareManagementStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonGDCHardwareManagementStub, 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.
Parameters | |
---|---|
Name | Description |
settings |
GDCHardwareManagementStubSettings |
clientContext |
ClientContext |
HttpJsonGDCHardwareManagementStub(GDCHardwareManagementStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonGDCHardwareManagementStub(GDCHardwareManagementStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonGDCHardwareManagementStub, 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.
Parameters | |
---|---|
Name | Description |
settings |
GDCHardwareManagementStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createCommentCallable()
public UnaryCallable<CreateCommentRequest,Operation> createCommentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateCommentRequest,Operation> |
createCommentOperationCallable()
public OperationCallable<CreateCommentRequest,Comment,OperationMetadata> createCommentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateCommentRequest,Comment,OperationMetadata> |
createHardwareCallable()
public UnaryCallable<CreateHardwareRequest,Operation> createHardwareCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateHardwareRequest,Operation> |
createHardwareGroupCallable()
public UnaryCallable<CreateHardwareGroupRequest,Operation> createHardwareGroupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateHardwareGroupRequest,Operation> |
createHardwareGroupOperationCallable()
public OperationCallable<CreateHardwareGroupRequest,HardwareGroup,OperationMetadata> createHardwareGroupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateHardwareGroupRequest,HardwareGroup,OperationMetadata> |
createHardwareOperationCallable()
public OperationCallable<CreateHardwareRequest,Hardware,OperationMetadata> createHardwareOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateHardwareRequest,Hardware,OperationMetadata> |
createOrderCallable()
public UnaryCallable<CreateOrderRequest,Operation> createOrderCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateOrderRequest,Operation> |
createOrderOperationCallable()
public OperationCallable<CreateOrderRequest,Order,OperationMetadata> createOrderOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateOrderRequest,Order,OperationMetadata> |
createSiteCallable()
public UnaryCallable<CreateSiteRequest,Operation> createSiteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateSiteRequest,Operation> |
createSiteOperationCallable()
public OperationCallable<CreateSiteRequest,Site,OperationMetadata> createSiteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateSiteRequest,Site,OperationMetadata> |
createZoneCallable()
public UnaryCallable<CreateZoneRequest,Operation> createZoneCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateZoneRequest,Operation> |
createZoneOperationCallable()
public OperationCallable<CreateZoneRequest,Zone,OperationMetadata> createZoneOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateZoneRequest,Zone,OperationMetadata> |
deleteHardwareCallable()
public UnaryCallable<DeleteHardwareRequest,Operation> deleteHardwareCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteHardwareRequest,Operation> |
deleteHardwareGroupCallable()
public UnaryCallable<DeleteHardwareGroupRequest,Operation> deleteHardwareGroupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteHardwareGroupRequest,Operation> |
deleteHardwareGroupOperationCallable()
public OperationCallable<DeleteHardwareGroupRequest,Empty,OperationMetadata> deleteHardwareGroupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteHardwareGroupRequest,Empty,OperationMetadata> |
deleteHardwareOperationCallable()
public OperationCallable<DeleteHardwareRequest,Empty,OperationMetadata> deleteHardwareOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteHardwareRequest,Empty,OperationMetadata> |
deleteOrderCallable()
public UnaryCallable<DeleteOrderRequest,Operation> deleteOrderCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteOrderRequest,Operation> |
deleteOrderOperationCallable()
public OperationCallable<DeleteOrderRequest,Empty,OperationMetadata> deleteOrderOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteOrderRequest,Empty,OperationMetadata> |
deleteSiteCallable()
public UnaryCallable<DeleteSiteRequest,Operation> deleteSiteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteSiteRequest,Operation> |
deleteSiteOperationCallable()
public OperationCallable<DeleteSiteRequest,Empty,OperationMetadata> deleteSiteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteSiteRequest,Empty,OperationMetadata> |
deleteZoneCallable()
public UnaryCallable<DeleteZoneRequest,Operation> deleteZoneCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteZoneRequest,Operation> |
deleteZoneOperationCallable()
public OperationCallable<DeleteZoneRequest,Empty,OperationMetadata> deleteZoneOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteZoneRequest,Empty,OperationMetadata> |
getChangeLogEntryCallable()
public UnaryCallable<GetChangeLogEntryRequest,ChangeLogEntry> getChangeLogEntryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetChangeLogEntryRequest,ChangeLogEntry> |
getCommentCallable()
public UnaryCallable<GetCommentRequest,Comment> getCommentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetCommentRequest,Comment> |
getHardwareCallable()
public UnaryCallable<GetHardwareRequest,Hardware> getHardwareCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetHardwareRequest,Hardware> |
getHardwareGroupCallable()
public UnaryCallable<GetHardwareGroupRequest,HardwareGroup> getHardwareGroupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetHardwareGroupRequest,HardwareGroup> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOrderCallable()
public UnaryCallable<GetOrderRequest,Order> getOrderCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetOrderRequest,Order> |
getSiteCallable()
public UnaryCallable<GetSiteRequest,Site> getSiteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetSiteRequest,Site> |
getSkuCallable()
public UnaryCallable<GetSkuRequest,Sku> getSkuCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetSkuRequest,Sku> |
getZoneCallable()
public UnaryCallable<GetZoneRequest,Zone> getZoneCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetZoneRequest,Zone> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listChangeLogEntriesCallable()
public UnaryCallable<ListChangeLogEntriesRequest,ListChangeLogEntriesResponse> listChangeLogEntriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListChangeLogEntriesRequest,ListChangeLogEntriesResponse> |
listChangeLogEntriesPagedCallable()
public UnaryCallable<ListChangeLogEntriesRequest,GDCHardwareManagementClient.ListChangeLogEntriesPagedResponse> listChangeLogEntriesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListChangeLogEntriesRequest,ListChangeLogEntriesPagedResponse> |
listCommentsCallable()
public UnaryCallable<ListCommentsRequest,ListCommentsResponse> listCommentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCommentsRequest,ListCommentsResponse> |
listCommentsPagedCallable()
public UnaryCallable<ListCommentsRequest,GDCHardwareManagementClient.ListCommentsPagedResponse> listCommentsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCommentsRequest,ListCommentsPagedResponse> |
listHardwareCallable()
public UnaryCallable<ListHardwareRequest,ListHardwareResponse> listHardwareCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListHardwareRequest,ListHardwareResponse> |
listHardwareGroupsCallable()
public UnaryCallable<ListHardwareGroupsRequest,ListHardwareGroupsResponse> listHardwareGroupsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListHardwareGroupsRequest,ListHardwareGroupsResponse> |
listHardwareGroupsPagedCallable()
public UnaryCallable<ListHardwareGroupsRequest,GDCHardwareManagementClient.ListHardwareGroupsPagedResponse> listHardwareGroupsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListHardwareGroupsRequest,ListHardwareGroupsPagedResponse> |
listHardwarePagedCallable()
public UnaryCallable<ListHardwareRequest,GDCHardwareManagementClient.ListHardwarePagedResponse> listHardwarePagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListHardwareRequest,ListHardwarePagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,GDCHardwareManagementClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listOrdersCallable()
public UnaryCallable<ListOrdersRequest,ListOrdersResponse> listOrdersCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOrdersRequest,ListOrdersResponse> |
listOrdersPagedCallable()
public UnaryCallable<ListOrdersRequest,GDCHardwareManagementClient.ListOrdersPagedResponse> listOrdersPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOrdersRequest,ListOrdersPagedResponse> |
listSitesCallable()
public UnaryCallable<ListSitesRequest,ListSitesResponse> listSitesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSitesRequest,ListSitesResponse> |
listSitesPagedCallable()
public UnaryCallable<ListSitesRequest,GDCHardwareManagementClient.ListSitesPagedResponse> listSitesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSitesRequest,ListSitesPagedResponse> |
listSkusCallable()
public UnaryCallable<ListSkusRequest,ListSkusResponse> listSkusCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSkusRequest,ListSkusResponse> |
listSkusPagedCallable()
public UnaryCallable<ListSkusRequest,GDCHardwareManagementClient.ListSkusPagedResponse> listSkusPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSkusRequest,ListSkusPagedResponse> |
listZonesCallable()
public UnaryCallable<ListZonesRequest,ListZonesResponse> listZonesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListZonesRequest,ListZonesResponse> |
listZonesPagedCallable()
public UnaryCallable<ListZonesRequest,GDCHardwareManagementClient.ListZonesPagedResponse> listZonesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListZonesRequest,ListZonesPagedResponse> |
recordActionOnCommentCallable()
public UnaryCallable<RecordActionOnCommentRequest,Comment> recordActionOnCommentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RecordActionOnCommentRequest,Comment> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
signalZoneStateCallable()
public UnaryCallable<SignalZoneStateRequest,Operation> signalZoneStateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SignalZoneStateRequest,Operation> |
signalZoneStateOperationCallable()
public OperationCallable<SignalZoneStateRequest,Zone,OperationMetadata> signalZoneStateOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<SignalZoneStateRequest,Zone,OperationMetadata> |
submitOrderCallable()
public UnaryCallable<SubmitOrderRequest,Operation> submitOrderCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SubmitOrderRequest,Operation> |
submitOrderOperationCallable()
public OperationCallable<SubmitOrderRequest,Order,OperationMetadata> submitOrderOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<SubmitOrderRequest,Order,OperationMetadata> |
updateHardwareCallable()
public UnaryCallable<UpdateHardwareRequest,Operation> updateHardwareCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateHardwareRequest,Operation> |
updateHardwareGroupCallable()
public UnaryCallable<UpdateHardwareGroupRequest,Operation> updateHardwareGroupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateHardwareGroupRequest,Operation> |
updateHardwareGroupOperationCallable()
public OperationCallable<UpdateHardwareGroupRequest,HardwareGroup,OperationMetadata> updateHardwareGroupOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateHardwareGroupRequest,HardwareGroup,OperationMetadata> |
updateHardwareOperationCallable()
public OperationCallable<UpdateHardwareRequest,Hardware,OperationMetadata> updateHardwareOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateHardwareRequest,Hardware,OperationMetadata> |
updateOrderCallable()
public UnaryCallable<UpdateOrderRequest,Operation> updateOrderCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateOrderRequest,Operation> |
updateOrderOperationCallable()
public OperationCallable<UpdateOrderRequest,Order,OperationMetadata> updateOrderOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateOrderRequest,Order,OperationMetadata> |
updateSiteCallable()
public UnaryCallable<UpdateSiteRequest,Operation> updateSiteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateSiteRequest,Operation> |
updateSiteOperationCallable()
public OperationCallable<UpdateSiteRequest,Site,OperationMetadata> updateSiteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateSiteRequest,Site,OperationMetadata> |
updateZoneCallable()
public UnaryCallable<UpdateZoneRequest,Operation> updateZoneCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateZoneRequest,Operation> |
updateZoneOperationCallable()
public OperationCallable<UpdateZoneRequest,Zone,OperationMetadata> updateZoneOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateZoneRequest,Zone,OperationMetadata> |