Class GrpcGDCHardwareManagementStub (0.8.0)

public class GrpcGDCHardwareManagementStub extends GDCHardwareManagementStub

gRPC stub implementation for the GDCHardwareManagement service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > GDCHardwareManagementStub > GrpcGDCHardwareManagementStub

Static Methods

create(ClientContext clientContext)

public static final GrpcGDCHardwareManagementStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcGDCHardwareManagementStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcGDCHardwareManagementStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcGDCHardwareManagementStub
Exceptions
Type Description
IOException

create(GDCHardwareManagementStubSettings settings)

public static final GrpcGDCHardwareManagementStub create(GDCHardwareManagementStubSettings settings)
Parameter
Name Description
settings GDCHardwareManagementStubSettings
Returns
Type Description
GrpcGDCHardwareManagementStub
Exceptions
Type Description
IOException

Constructors

GrpcGDCHardwareManagementStub(GDCHardwareManagementStubSettings settings, ClientContext clientContext)

protected GrpcGDCHardwareManagementStub(GDCHardwareManagementStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcGDCHardwareManagementStub, 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

GrpcGDCHardwareManagementStub(GDCHardwareManagementStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcGDCHardwareManagementStub(GDCHardwareManagementStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcGDCHardwareManagementStub, 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 GrpcStubCallableFactory

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()
Overrides

createCommentCallable()

public UnaryCallable<CreateCommentRequest,Operation> createCommentCallable()
Returns
Type Description
UnaryCallable<CreateCommentRequest,Operation>
Overrides

createCommentOperationCallable()

public OperationCallable<CreateCommentRequest,Comment,OperationMetadata> createCommentOperationCallable()
Returns
Type Description
OperationCallable<CreateCommentRequest,Comment,OperationMetadata>
Overrides

createHardwareCallable()

public UnaryCallable<CreateHardwareRequest,Operation> createHardwareCallable()
Returns
Type Description
UnaryCallable<CreateHardwareRequest,Operation>
Overrides

createHardwareGroupCallable()

public UnaryCallable<CreateHardwareGroupRequest,Operation> createHardwareGroupCallable()
Returns
Type Description
UnaryCallable<CreateHardwareGroupRequest,Operation>
Overrides

createHardwareGroupOperationCallable()

public OperationCallable<CreateHardwareGroupRequest,HardwareGroup,OperationMetadata> createHardwareGroupOperationCallable()
Returns
Type Description
OperationCallable<CreateHardwareGroupRequest,HardwareGroup,OperationMetadata>
Overrides

createHardwareOperationCallable()

public OperationCallable<CreateHardwareRequest,Hardware,OperationMetadata> createHardwareOperationCallable()
Returns
Type Description
OperationCallable<CreateHardwareRequest,Hardware,OperationMetadata>
Overrides

createOrderCallable()

public UnaryCallable<CreateOrderRequest,Operation> createOrderCallable()
Returns
Type Description
UnaryCallable<CreateOrderRequest,Operation>
Overrides

createOrderOperationCallable()

public OperationCallable<CreateOrderRequest,Order,OperationMetadata> createOrderOperationCallable()
Returns
Type Description
OperationCallable<CreateOrderRequest,Order,OperationMetadata>
Overrides

createSiteCallable()

public UnaryCallable<CreateSiteRequest,Operation> createSiteCallable()
Returns
Type Description
UnaryCallable<CreateSiteRequest,Operation>
Overrides

createSiteOperationCallable()

public OperationCallable<CreateSiteRequest,Site,OperationMetadata> createSiteOperationCallable()
Returns
Type Description
OperationCallable<CreateSiteRequest,Site,OperationMetadata>
Overrides

createZoneCallable()

public UnaryCallable<CreateZoneRequest,Operation> createZoneCallable()
Returns
Type Description
UnaryCallable<CreateZoneRequest,Operation>
Overrides

createZoneOperationCallable()

public OperationCallable<CreateZoneRequest,Zone,OperationMetadata> createZoneOperationCallable()
Returns
Type Description
OperationCallable<CreateZoneRequest,Zone,OperationMetadata>
Overrides

deleteHardwareCallable()

public UnaryCallable<DeleteHardwareRequest,Operation> deleteHardwareCallable()
Returns
Type Description
UnaryCallable<DeleteHardwareRequest,Operation>
Overrides

deleteHardwareGroupCallable()

public UnaryCallable<DeleteHardwareGroupRequest,Operation> deleteHardwareGroupCallable()
Returns
Type Description
UnaryCallable<DeleteHardwareGroupRequest,Operation>
Overrides

deleteHardwareGroupOperationCallable()

public OperationCallable<DeleteHardwareGroupRequest,Empty,OperationMetadata> deleteHardwareGroupOperationCallable()
Returns
Type Description
OperationCallable<DeleteHardwareGroupRequest,Empty,OperationMetadata>
Overrides

deleteHardwareOperationCallable()

public OperationCallable<DeleteHardwareRequest,Empty,OperationMetadata> deleteHardwareOperationCallable()
Returns
Type Description
OperationCallable<DeleteHardwareRequest,Empty,OperationMetadata>
Overrides

deleteOrderCallable()

public UnaryCallable<DeleteOrderRequest,Operation> deleteOrderCallable()
Returns
Type Description
UnaryCallable<DeleteOrderRequest,Operation>
Overrides

deleteOrderOperationCallable()

public OperationCallable<DeleteOrderRequest,Empty,OperationMetadata> deleteOrderOperationCallable()
Returns
Type Description
OperationCallable<DeleteOrderRequest,Empty,OperationMetadata>
Overrides

deleteSiteCallable()

public UnaryCallable<DeleteSiteRequest,Operation> deleteSiteCallable()
Returns
Type Description
UnaryCallable<DeleteSiteRequest,Operation>
Overrides

deleteSiteOperationCallable()

public OperationCallable<DeleteSiteRequest,Empty,OperationMetadata> deleteSiteOperationCallable()
Returns
Type Description
OperationCallable<DeleteSiteRequest,Empty,OperationMetadata>
Overrides

deleteZoneCallable()

public UnaryCallable<DeleteZoneRequest,Operation> deleteZoneCallable()
Returns
Type Description
UnaryCallable<DeleteZoneRequest,Operation>
Overrides

deleteZoneOperationCallable()

public OperationCallable<DeleteZoneRequest,Empty,OperationMetadata> deleteZoneOperationCallable()
Returns
Type Description
OperationCallable<DeleteZoneRequest,Empty,OperationMetadata>
Overrides

getChangeLogEntryCallable()

public UnaryCallable<GetChangeLogEntryRequest,ChangeLogEntry> getChangeLogEntryCallable()
Returns
Type Description
UnaryCallable<GetChangeLogEntryRequest,ChangeLogEntry>
Overrides

getCommentCallable()

public UnaryCallable<GetCommentRequest,Comment> getCommentCallable()
Returns
Type Description
UnaryCallable<GetCommentRequest,Comment>
Overrides

getHardwareCallable()

public UnaryCallable<GetHardwareRequest,Hardware> getHardwareCallable()
Returns
Type Description
UnaryCallable<GetHardwareRequest,Hardware>
Overrides

getHardwareGroupCallable()

public UnaryCallable<GetHardwareGroupRequest,HardwareGroup> getHardwareGroupCallable()
Returns
Type Description
UnaryCallable<GetHardwareGroupRequest,HardwareGroup>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getOrderCallable()

public UnaryCallable<GetOrderRequest,Order> getOrderCallable()
Returns
Type Description
UnaryCallable<GetOrderRequest,Order>
Overrides

getSiteCallable()

public UnaryCallable<GetSiteRequest,Site> getSiteCallable()
Returns
Type Description
UnaryCallable<GetSiteRequest,Site>
Overrides

getSkuCallable()

public UnaryCallable<GetSkuRequest,Sku> getSkuCallable()
Returns
Type Description
UnaryCallable<GetSkuRequest,Sku>
Overrides

getZoneCallable()

public UnaryCallable<GetZoneRequest,Zone> getZoneCallable()
Returns
Type Description
UnaryCallable<GetZoneRequest,Zone>
Overrides

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>
Overrides

listChangeLogEntriesPagedCallable()

public UnaryCallable<ListChangeLogEntriesRequest,GDCHardwareManagementClient.ListChangeLogEntriesPagedResponse> listChangeLogEntriesPagedCallable()
Returns
Type Description
UnaryCallable<ListChangeLogEntriesRequest,ListChangeLogEntriesPagedResponse>
Overrides

listCommentsCallable()

public UnaryCallable<ListCommentsRequest,ListCommentsResponse> listCommentsCallable()
Returns
Type Description
UnaryCallable<ListCommentsRequest,ListCommentsResponse>
Overrides

listCommentsPagedCallable()

public UnaryCallable<ListCommentsRequest,GDCHardwareManagementClient.ListCommentsPagedResponse> listCommentsPagedCallable()
Returns
Type Description
UnaryCallable<ListCommentsRequest,ListCommentsPagedResponse>
Overrides

listHardwareCallable()

public UnaryCallable<ListHardwareRequest,ListHardwareResponse> listHardwareCallable()
Returns
Type Description
UnaryCallable<ListHardwareRequest,ListHardwareResponse>
Overrides

listHardwareGroupsCallable()

public UnaryCallable<ListHardwareGroupsRequest,ListHardwareGroupsResponse> listHardwareGroupsCallable()
Returns
Type Description
UnaryCallable<ListHardwareGroupsRequest,ListHardwareGroupsResponse>
Overrides

listHardwareGroupsPagedCallable()

public UnaryCallable<ListHardwareGroupsRequest,GDCHardwareManagementClient.ListHardwareGroupsPagedResponse> listHardwareGroupsPagedCallable()
Returns
Type Description
UnaryCallable<ListHardwareGroupsRequest,ListHardwareGroupsPagedResponse>
Overrides

listHardwarePagedCallable()

public UnaryCallable<ListHardwareRequest,GDCHardwareManagementClient.ListHardwarePagedResponse> listHardwarePagedCallable()
Returns
Type Description
UnaryCallable<ListHardwareRequest,ListHardwarePagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,GDCHardwareManagementClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listOrdersCallable()

public UnaryCallable<ListOrdersRequest,ListOrdersResponse> listOrdersCallable()
Returns
Type Description
UnaryCallable<ListOrdersRequest,ListOrdersResponse>
Overrides

listOrdersPagedCallable()

public UnaryCallable<ListOrdersRequest,GDCHardwareManagementClient.ListOrdersPagedResponse> listOrdersPagedCallable()
Returns
Type Description
UnaryCallable<ListOrdersRequest,ListOrdersPagedResponse>
Overrides

listSitesCallable()

public UnaryCallable<ListSitesRequest,ListSitesResponse> listSitesCallable()
Returns
Type Description
UnaryCallable<ListSitesRequest,ListSitesResponse>
Overrides

listSitesPagedCallable()

public UnaryCallable<ListSitesRequest,GDCHardwareManagementClient.ListSitesPagedResponse> listSitesPagedCallable()
Returns
Type Description
UnaryCallable<ListSitesRequest,ListSitesPagedResponse>
Overrides

listSkusCallable()

public UnaryCallable<ListSkusRequest,ListSkusResponse> listSkusCallable()
Returns
Type Description
UnaryCallable<ListSkusRequest,ListSkusResponse>
Overrides

listSkusPagedCallable()

public UnaryCallable<ListSkusRequest,GDCHardwareManagementClient.ListSkusPagedResponse> listSkusPagedCallable()
Returns
Type Description
UnaryCallable<ListSkusRequest,ListSkusPagedResponse>
Overrides

listZonesCallable()

public UnaryCallable<ListZonesRequest,ListZonesResponse> listZonesCallable()
Returns
Type Description
UnaryCallable<ListZonesRequest,ListZonesResponse>
Overrides

listZonesPagedCallable()

public UnaryCallable<ListZonesRequest,GDCHardwareManagementClient.ListZonesPagedResponse> listZonesPagedCallable()
Returns
Type Description
UnaryCallable<ListZonesRequest,ListZonesPagedResponse>
Overrides

recordActionOnCommentCallable()

public UnaryCallable<RecordActionOnCommentRequest,Comment> recordActionOnCommentCallable()
Returns
Type Description
UnaryCallable<RecordActionOnCommentRequest,Comment>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

signalZoneStateCallable()

public UnaryCallable<SignalZoneStateRequest,Operation> signalZoneStateCallable()
Returns
Type Description
UnaryCallable<SignalZoneStateRequest,Operation>
Overrides

signalZoneStateOperationCallable()

public OperationCallable<SignalZoneStateRequest,Zone,OperationMetadata> signalZoneStateOperationCallable()
Returns
Type Description
OperationCallable<SignalZoneStateRequest,Zone,OperationMetadata>
Overrides

submitOrderCallable()

public UnaryCallable<SubmitOrderRequest,Operation> submitOrderCallable()
Returns
Type Description
UnaryCallable<SubmitOrderRequest,Operation>
Overrides

submitOrderOperationCallable()

public OperationCallable<SubmitOrderRequest,Order,OperationMetadata> submitOrderOperationCallable()
Returns
Type Description
OperationCallable<SubmitOrderRequest,Order,OperationMetadata>
Overrides

updateHardwareCallable()

public UnaryCallable<UpdateHardwareRequest,Operation> updateHardwareCallable()
Returns
Type Description
UnaryCallable<UpdateHardwareRequest,Operation>
Overrides

updateHardwareGroupCallable()

public UnaryCallable<UpdateHardwareGroupRequest,Operation> updateHardwareGroupCallable()
Returns
Type Description
UnaryCallable<UpdateHardwareGroupRequest,Operation>
Overrides

updateHardwareGroupOperationCallable()

public OperationCallable<UpdateHardwareGroupRequest,HardwareGroup,OperationMetadata> updateHardwareGroupOperationCallable()
Returns
Type Description
OperationCallable<UpdateHardwareGroupRequest,HardwareGroup,OperationMetadata>
Overrides

updateHardwareOperationCallable()

public OperationCallable<UpdateHardwareRequest,Hardware,OperationMetadata> updateHardwareOperationCallable()
Returns
Type Description
OperationCallable<UpdateHardwareRequest,Hardware,OperationMetadata>
Overrides

updateOrderCallable()

public UnaryCallable<UpdateOrderRequest,Operation> updateOrderCallable()
Returns
Type Description
UnaryCallable<UpdateOrderRequest,Operation>
Overrides

updateOrderOperationCallable()

public OperationCallable<UpdateOrderRequest,Order,OperationMetadata> updateOrderOperationCallable()
Returns
Type Description
OperationCallable<UpdateOrderRequest,Order,OperationMetadata>
Overrides

updateSiteCallable()

public UnaryCallable<UpdateSiteRequest,Operation> updateSiteCallable()
Returns
Type Description
UnaryCallable<UpdateSiteRequest,Operation>
Overrides

updateSiteOperationCallable()

public OperationCallable<UpdateSiteRequest,Site,OperationMetadata> updateSiteOperationCallable()
Returns
Type Description
OperationCallable<UpdateSiteRequest,Site,OperationMetadata>
Overrides

updateZoneCallable()

public UnaryCallable<UpdateZoneRequest,Operation> updateZoneCallable()
Returns
Type Description
UnaryCallable<UpdateZoneRequest,Operation>
Overrides

updateZoneOperationCallable()

public OperationCallable<UpdateZoneRequest,Zone,OperationMetadata> updateZoneOperationCallable()
Returns
Type Description
OperationCallable<UpdateZoneRequest,Zone,OperationMetadata>
Overrides