Class GDCHardwareManagementGrpc.GDCHardwareManagementFutureStub (0.7.0)

public static final class GDCHardwareManagementGrpc.GDCHardwareManagementFutureStub extends AbstractFutureStub<GDCHardwareManagementGrpc.GDCHardwareManagementFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service GDCHardwareManagement.

The GDC Hardware Management service.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > GDCHardwareManagementGrpc.GDCHardwareManagementFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected GDCHardwareManagementGrpc.GDCHardwareManagementFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
GDCHardwareManagementGrpc.GDCHardwareManagementFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createComment(CreateCommentRequest request)

public ListenableFuture<Operation> createComment(CreateCommentRequest request)

Creates a new comment on an order.

Parameter
Name Description
request CreateCommentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createHardware(CreateHardwareRequest request)

public ListenableFuture<Operation> createHardware(CreateHardwareRequest request)

Creates new hardware in a given project and location.

Parameter
Name Description
request CreateHardwareRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createHardwareGroup(CreateHardwareGroupRequest request)

public ListenableFuture<Operation> createHardwareGroup(CreateHardwareGroupRequest request)

Creates a new hardware group in a given order.

Parameter
Name Description
request CreateHardwareGroupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createOrder(CreateOrderRequest request)

public ListenableFuture<Operation> createOrder(CreateOrderRequest request)

Creates a new order in a given project and location.

Parameter
Name Description
request CreateOrderRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createSite(CreateSiteRequest request)

public ListenableFuture<Operation> createSite(CreateSiteRequest request)

Creates a new site in a given project and location.

Parameter
Name Description
request CreateSiteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createZone(CreateZoneRequest request)

public ListenableFuture<Operation> createZone(CreateZoneRequest request)

Creates a new zone in a given project and location.

Parameter
Name Description
request CreateZoneRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteHardware(DeleteHardwareRequest request)

public ListenableFuture<Operation> deleteHardware(DeleteHardwareRequest request)

Deletes hardware.

Parameter
Name Description
request DeleteHardwareRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteHardwareGroup(DeleteHardwareGroupRequest request)

public ListenableFuture<Operation> deleteHardwareGroup(DeleteHardwareGroupRequest request)

Deletes a hardware group.

Parameter
Name Description
request DeleteHardwareGroupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteOrder(DeleteOrderRequest request)

public ListenableFuture<Operation> deleteOrder(DeleteOrderRequest request)

Deletes an order.

Parameter
Name Description
request DeleteOrderRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteZone(DeleteZoneRequest request)

public ListenableFuture<Operation> deleteZone(DeleteZoneRequest request)

Deletes a zone.

Parameter
Name Description
request DeleteZoneRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getChangeLogEntry(GetChangeLogEntryRequest request)

public ListenableFuture<ChangeLogEntry> getChangeLogEntry(GetChangeLogEntryRequest request)

Gets details of a change to an order.

Parameter
Name Description
request GetChangeLogEntryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ChangeLogEntry>

getComment(GetCommentRequest request)

public ListenableFuture<Comment> getComment(GetCommentRequest request)

Gets the content of a comment.

Parameter
Name Description
request GetCommentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Comment>

getHardware(GetHardwareRequest request)

public ListenableFuture<Hardware> getHardware(GetHardwareRequest request)

Gets hardware details.

Parameter
Name Description
request GetHardwareRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Hardware>

getHardwareGroup(GetHardwareGroupRequest request)

public ListenableFuture<HardwareGroup> getHardwareGroup(GetHardwareGroupRequest request)

Gets details of a hardware group.

Parameter
Name Description
request GetHardwareGroupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<HardwareGroup>

getOrder(GetOrderRequest request)

public ListenableFuture<Order> getOrder(GetOrderRequest request)

Gets details of an order.

Parameter
Name Description
request GetOrderRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Order>

getSite(GetSiteRequest request)

public ListenableFuture<Site> getSite(GetSiteRequest request)

Gets details of a site.

Parameter
Name Description
request GetSiteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Site>

getSku(GetSkuRequest request)

public ListenableFuture<Sku> getSku(GetSkuRequest request)

Gets details of an SKU.

Parameter
Name Description
request GetSkuRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Sku>

getZone(GetZoneRequest request)

public ListenableFuture<Zone> getZone(GetZoneRequest request)

Gets details of a zone.

Parameter
Name Description
request GetZoneRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Zone>

listChangeLogEntries(ListChangeLogEntriesRequest request)

public ListenableFuture<ListChangeLogEntriesResponse> listChangeLogEntries(ListChangeLogEntriesRequest request)

Lists the changes made to an order.

Parameter
Name Description
request ListChangeLogEntriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListChangeLogEntriesResponse>

listComments(ListCommentsRequest request)

public ListenableFuture<ListCommentsResponse> listComments(ListCommentsRequest request)

Lists the comments on an order.

Parameter
Name Description
request ListCommentsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListCommentsResponse>

listHardware(ListHardwareRequest request)

public ListenableFuture<ListHardwareResponse> listHardware(ListHardwareRequest request)

Lists hardware in a given project and location.

Parameter
Name Description
request ListHardwareRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListHardwareResponse>

listHardwareGroups(ListHardwareGroupsRequest request)

public ListenableFuture<ListHardwareGroupsResponse> listHardwareGroups(ListHardwareGroupsRequest request)

Lists hardware groups in a given order.

Parameter
Name Description
request ListHardwareGroupsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListHardwareGroupsResponse>

listOrders(ListOrdersRequest request)

public ListenableFuture<ListOrdersResponse> listOrders(ListOrdersRequest request)

Lists orders in a given project and location.

Parameter
Name Description
request ListOrdersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListOrdersResponse>

listSites(ListSitesRequest request)

public ListenableFuture<ListSitesResponse> listSites(ListSitesRequest request)

Lists sites in a given project and location.

Parameter
Name Description
request ListSitesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListSitesResponse>

listSkus(ListSkusRequest request)

public ListenableFuture<ListSkusResponse> listSkus(ListSkusRequest request)

Lists SKUs for a given project and location.

Parameter
Name Description
request ListSkusRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListSkusResponse>

listZones(ListZonesRequest request)

public ListenableFuture<ListZonesResponse> listZones(ListZonesRequest request)

Lists zones in a given project and location.

Parameter
Name Description
request ListZonesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListZonesResponse>

recordActionOnComment(RecordActionOnCommentRequest request)

public ListenableFuture<Comment> recordActionOnComment(RecordActionOnCommentRequest request)

Record Action on a Comment. If the Action specified in the request is READ, the viewed time in the comment is set to the time the request was received. If the comment is already marked as read, subsequent calls will be ignored. If the Action is UNREAD, the viewed time is cleared from the comment.

Parameter
Name Description
request RecordActionOnCommentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Comment>

signalZoneState(SignalZoneStateRequest request)

public ListenableFuture<Operation> signalZoneState(SignalZoneStateRequest request)

Signals the state of a zone.

Parameter
Name Description
request SignalZoneStateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

submitOrder(SubmitOrderRequest request)

public ListenableFuture<Operation> submitOrder(SubmitOrderRequest request)

Submits an order.

Parameter
Name Description
request SubmitOrderRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateHardware(UpdateHardwareRequest request)

public ListenableFuture<Operation> updateHardware(UpdateHardwareRequest request)

Updates hardware parameters.

Parameter
Name Description
request UpdateHardwareRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateHardwareGroup(UpdateHardwareGroupRequest request)

public ListenableFuture<Operation> updateHardwareGroup(UpdateHardwareGroupRequest request)

Updates the parameters of a hardware group.

Parameter
Name Description
request UpdateHardwareGroupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateOrder(UpdateOrderRequest request)

public ListenableFuture<Operation> updateOrder(UpdateOrderRequest request)

Updates the parameters of an order.

Parameter
Name Description
request UpdateOrderRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateSite(UpdateSiteRequest request)

public ListenableFuture<Operation> updateSite(UpdateSiteRequest request)

Updates the parameters of a site.

Parameter
Name Description
request UpdateSiteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateZone(UpdateZoneRequest request)

public ListenableFuture<Operation> updateZone(UpdateZoneRequest request)

Updates the parameters of a zone.

Parameter
Name Description
request UpdateZoneRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>