Package viam.app.v1
Class AppServiceGrpc.AppServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AppServiceGrpc.AppServiceBlockingStub>
viam.app.v1.AppServiceGrpc.AppServiceBlockingStub
- Enclosing class:
- AppServiceGrpc
public static final class AppServiceGrpc.AppServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<AppServiceGrpc.AppServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service AppService.
Users
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionaddRole
(App.AddRoleRequest request) Creates an IdentityAuthorizationprotected AppServiceGrpc.AppServiceBlockingStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) changeRole
(App.ChangeRoleRequest request) Changes an IdentityAuthorization to a new IdentityAuthorizationValidates a permission for the current usercreateFragment
(App.CreateFragmentRequest request) Creates a fragmentcreateKey
(App.CreateKeyRequest request) createLocation
(App.CreateLocationRequest request) Create a locationCreate a new generated Secret in the Location.createModule
(App.CreateModuleRequest request) createOAuthApp
(App.CreateOAuthAppRequest request) Create a new organizationCreate an organization invite to an organizationCreate a new generated Secret in the Robot Part.deleteFragment
(App.DeleteFragmentRequest request) Deletes a fragmentdeleteKey
(App.DeleteKeyRequest request) deleteLocation
(App.DeleteLocationRequest request) Delete a locationDelete a Secret from the Location.deleteOAuthApp
(App.DeleteOAuthAppRequest request) Delete an organizationDelete an organization inviteDelete an organization member from an organizationdeleteRobot
(App.DeleteRobotRequest request) DeleteRobot deletes a robotDelete a robot partDelete a Secret from the RobotPart.getFragment
(App.GetFragmentRequest request) Gets a single fragmentGets fragment historygetLocation
(App.GetLocationRequest request) Get a locationgetModule
(App.GetModuleRequest request) Get an organizationChecks for namespace availablity throughout all orgs.Get all organizations that have access to a location.getRobot
(App.GetRobotRequest request) Get a specific robot by IDGets the Robot API Keys for the robotgetRobotPart
(App.GetRobotPartRequest request) Get a specific robot part by IDGet a specific robot part histy by IDgetRobotParts
(App.GetRobotPartsRequest request) Get Rover Rental Location RobotsGet the id of the user with the emailReturns all authorization roles for a given resourcelistFragments
(App.ListFragmentsRequest request) Gets a list of fragmentslistKeys
(App.ListKeysRequest request) listLocations
(App.ListLocationsRequest request) Get a list of locationsGets top level and nested fragments for a machine, as well as any other specified fragment idslistModules
(App.ListModulesRequest request) listOAuthApps
(App.ListOAuthAppsRequest request) List all members of an organization and all invited members to the organization.List organizationsList the organizations a user belongs tolistRobots
(App.ListRobotsRequest request) Get a list of robotslocationAuth
(App.LocationAuthRequest request) Get a location's authorization secretsmarkPartAsMain
(App.MarkPartAsMainRequest request) Marks the given part as the main part, and all the others as notMarks part for restart.newRobot
(App.NewRobotRequest request) NewRobot creates a new robotnewRobotPart
(App.NewRobotPartRequest request) Create a new robot partreadOAuthApp
(App.ReadOAuthAppRequest request) removeRole
(App.RemoveRoleRequest request) Deletes an IdentityAuthorizationrenameKey
(App.RenameKeyRequest request) Resend an organization inviterotateKey
(App.RotateKeyRequest request) shareLocation
(App.ShareLocationRequest request) Share a location with an organizationStop sharing a location with an organizationupdateFragment
(App.UpdateFragmentRequest request) Updates a fragmentupdateLocation
(App.UpdateLocationRequest request) Update a locationupdateModule
(App.UpdateModuleRequest request) updateOAuthApp
(App.UpdateOAuthAppRequest request) Update an organizationUpdate the authorizations attached to an organization inviteupdateRobot
(App.UpdateRobotRequest request) UpdateRobot updates a robotUpdate a robotMethods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AppServiceGrpc.AppServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<AppServiceGrpc.AppServiceBlockingStub>
-
getUserIDByEmail
Get the id of the user with the email
-
createOrganization
Create a new organization
-
listOrganizations
List organizations
-
getOrganizationsWithAccessToLocation
public App.GetOrganizationsWithAccessToLocationResponse getOrganizationsWithAccessToLocation(App.GetOrganizationsWithAccessToLocationRequest request) Get all organizations that have access to a location.
-
listOrganizationsByUser
public App.ListOrganizationsByUserResponse listOrganizationsByUser(App.ListOrganizationsByUserRequest request) List the organizations a user belongs to
-
getOrganization
Get an organization
-
getOrganizationNamespaceAvailability
public App.GetOrganizationNamespaceAvailabilityResponse getOrganizationNamespaceAvailability(App.GetOrganizationNamespaceAvailabilityRequest request) Checks for namespace availablity throughout all orgs.
-
updateOrganization
Update an organization
-
deleteOrganization
Delete an organization
-
listOrganizationMembers
public App.ListOrganizationMembersResponse listOrganizationMembers(App.ListOrganizationMembersRequest request) List all members of an organization and all invited members to the organization.
-
createOrganizationInvite
public App.CreateOrganizationInviteResponse createOrganizationInvite(App.CreateOrganizationInviteRequest request) Create an organization invite to an organization
-
updateOrganizationInviteAuthorizations
public App.UpdateOrganizationInviteAuthorizationsResponse updateOrganizationInviteAuthorizations(App.UpdateOrganizationInviteAuthorizationsRequest request) Update the authorizations attached to an organization invite
-
deleteOrganizationMember
public App.DeleteOrganizationMemberResponse deleteOrganizationMember(App.DeleteOrganizationMemberRequest request) Delete an organization member from an organization
-
deleteOrganizationInvite
public App.DeleteOrganizationInviteResponse deleteOrganizationInvite(App.DeleteOrganizationInviteRequest request) Delete an organization invite
-
resendOrganizationInvite
public App.ResendOrganizationInviteResponse resendOrganizationInvite(App.ResendOrganizationInviteRequest request) Resend an organization invite
-
enableBillingService
public App.EnableBillingServiceResponse enableBillingService(App.EnableBillingServiceRequest request) -
disableBillingService
public App.DisableBillingServiceResponse disableBillingService(App.DisableBillingServiceRequest request) -
updateBillingService
public App.UpdateBillingServiceResponse updateBillingService(App.UpdateBillingServiceRequest request) -
getBillingServiceConfig
public App.GetBillingServiceConfigResponse getBillingServiceConfig(App.GetBillingServiceConfigRequest request) -
organizationSetSupportEmail
public App.OrganizationSetSupportEmailResponse organizationSetSupportEmail(App.OrganizationSetSupportEmailRequest request) -
organizationGetSupportEmail
public App.OrganizationGetSupportEmailResponse organizationGetSupportEmail(App.OrganizationGetSupportEmailRequest request) -
organizationSetLogo
-
organizationGetLogo
-
enableAuthService
-
disableAuthService
-
createOAuthApp
-
readOAuthApp
-
updateOAuthApp
-
deleteOAuthApp
-
listOAuthApps
-
createLocation
Create a location
-
getLocation
Get a location
-
updateLocation
Update a location
-
deleteLocation
Delete a location
-
listLocations
Get a list of locations
-
locationAuth
Get a location's authorization secrets
-
createLocationSecret
public App.CreateLocationSecretResponse createLocationSecret(App.CreateLocationSecretRequest request) Create a new generated Secret in the Location. - Succeeds if there are no more than 2 active secrets after creation.
-
deleteLocationSecret
public App.DeleteLocationSecretResponse deleteLocationSecret(App.DeleteLocationSecretRequest request) Delete a Secret from the Location.
-
getRobot
Get a specific robot by ID
-
getRoverRentalRobots
public App.GetRoverRentalRobotsResponse getRoverRentalRobots(App.GetRoverRentalRobotsRequest request) Get Rover Rental Location Robots
-
getRobotParts
-
getRobotPart
Get a specific robot part by ID
-
getRobotPartLogs
-
tailRobotPartLogs
public Iterator<App.TailRobotPartLogsResponse> tailRobotPartLogs(App.TailRobotPartLogsRequest request) -
getRobotPartHistory
Get a specific robot part histy by ID
-
updateRobotPart
Update a robot
-
newRobotPart
Create a new robot part
-
deleteRobotPart
Delete a robot part
-
getRobotAPIKeys
Gets the Robot API Keys for the robot
-
markPartAsMain
Marks the given part as the main part, and all the others as not
-
markPartForRestart
Marks part for restart. Once the robot part checks-in with the app the flag is reset on the robot part. Calling this multiple times before a robot part checks-in has no affect. Note: This API may be removed in the near future. TODO(APP-388): Remove
-
createRobotPartSecret
public App.CreateRobotPartSecretResponse createRobotPartSecret(App.CreateRobotPartSecretRequest request) Create a new generated Secret in the Robot Part. - Succeeds if there are no more than 2 active secrets after creation.
-
deleteRobotPartSecret
public App.DeleteRobotPartSecretResponse deleteRobotPartSecret(App.DeleteRobotPartSecretRequest request) Delete a Secret from the RobotPart.
-
listRobots
Get a list of robots
-
newRobot
NewRobot creates a new robot
-
updateRobot
UpdateRobot updates a robot
-
deleteRobot
DeleteRobot deletes a robot
-
listFragments
Gets a list of fragments
-
getFragment
Gets a single fragment
-
createFragment
Creates a fragment
-
updateFragment
Updates a fragment
-
deleteFragment
Deletes a fragment
-
listMachineFragments
public App.ListMachineFragmentsResponse listMachineFragments(App.ListMachineFragmentsRequest request) Gets top level and nested fragments for a machine, as well as any other specified fragment ids
-
getFragmentHistory
Gets fragment history
-
addRole
Creates an IdentityAuthorization
-
removeRole
Deletes an IdentityAuthorization
-
changeRole
Changes an IdentityAuthorization to a new IdentityAuthorization
-
listAuthorizations
Returns all authorization roles for a given resource
-
checkPermissions
Validates a permission for the current user
-
getRegistryItem
-
createRegistryItem
-
updateRegistryItem
-
listRegistryItems
-
deleteRegistryItem
-
transferRegistryItem
public App.TransferRegistryItemResponse transferRegistryItem(App.TransferRegistryItemRequest request) -
createModule
-
updateModule
-
getModule
-
listModules
-
createKey
-
deleteKey
-
listKeys
-
renameKey
-
rotateKey
-
createKeyFromExistingKeyAuthorizations
public App.CreateKeyFromExistingKeyAuthorizationsResponse createKeyFromExistingKeyAuthorizations(App.CreateKeyFromExistingKeyAuthorizationsRequest request)
-