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(AppOuterClass.AddRoleRequest request) Creates an IdentityAuthorizationprotected AppServiceGrpc.AppServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Changes an IdentityAuthorization to a new IdentityAuthorizationValidates a permission for the current userCreates a fragmentcreateKey(AppOuterClass.CreateKeyRequest request) createKeyFromExistingKeyAuthorizations(AppOuterClass.CreateKeyFromExistingKeyAuthorizationsRequest request) Create a locationCreate a new generated Secret in the Location.Create a new organizationCreate an organization invite to an organizationCreate a new generated Secret in the Robot Part.Deletes a fragmentDeletes a fragment tagdeleteKey(AppOuterClass.DeleteKeyRequest request) Delete a locationDelete a Secret from the Location.Delete an organizationDelete an organization inviteDelete an organization member from an organizationDeleteRobot deletes a robotDelete a robot partDelete a Secret from the RobotPart.Gets a single fragmentGets fragment historyGets usage for a fragment across versionsGet a locationGet user-defined metadata for a locationgetModule(AppOuterClass.GetModuleRequest request) Get an organizationGet user-defined metadata for an organizationgetOrganizationNamespaceAvailability(AppOuterClass.GetOrganizationNamespaceAvailabilityRequest request) Checks for namespace availablity throughout all orgs.getOrganizationsWithAccessToLocation(AppOuterClass.GetOrganizationsWithAccessToLocationRequest request) Get all organizations that have access to a location.getRobot(AppOuterClass.GetRobotRequest request) Get a specific robot by IDGets the Robot API Keys for the robotGet user-defined metadata for a robotGet a specific robot part by IDGet a specific robot part by name and locationGet a specific robot part histy by IDGet user-defined metadata for a robot partGet Rover Rental Location RobotsGet the id of the user with the emailReturns all authorization roles for a given resourceGets a list of fragmentslistKeys(AppOuterClass.ListKeysRequest request) Get a list of locationsGets top level and nested fragments for a machine, as well as any other specified fragment idsList all machines and their corresponding machine dashboard informationList nested fragments for a fragmentList all members of an organization and all invited members to the organization.List organizationsList the organizations a user belongs toGet a list of robots at a locationGet a list of robots at multiple locationsGet a list of robots at an orgGet a location's authorization secretsMarks the given part as the main part, and all the others as notMarks part for restart.newRobot(AppOuterClass.NewRobotRequest request) NewRobot creates a new robotCreate a new robot partDeletes an IdentityAuthorizationrenameKey(AppOuterClass.RenameKeyRequest request) Resend an organization inviterotateKey(AppOuterClass.RotateKeyRequest request) Search organizations by a couple fieldsSets a fragment tag to a revisionShare a location with an organizationStop sharing a location with an organizationUpdates a fragmentUpdate a locationUpdate user-defined metadata for a locationUpdate an organizationupdateOrganizationInviteAuthorizations(AppOuterClass.UpdateOrganizationInviteAuthorizationsRequest request) Update the authorizations attached to an organization inviteUpdate user-defined metadata for an organizationUpdate an organization's namespace if it's already been set.UpdateRobot updates a robotUpdate user-defined metadata for an robotUpdate a robotUpdate user-defined metadata for an robot partMethods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods 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:
buildin classio.grpc.stub.AbstractStub<AppServiceGrpc.AppServiceBlockingStub>
-
getUserIDByEmail
public AppOuterClass.GetUserIDByEmailResponse getUserIDByEmail(AppOuterClass.GetUserIDByEmailRequest request) Get the id of the user with the email
-
createOrganization
public AppOuterClass.CreateOrganizationResponse createOrganization(AppOuterClass.CreateOrganizationRequest request) Create a new organization
-
listOrganizations
public AppOuterClass.ListOrganizationsResponse listOrganizations(AppOuterClass.ListOrganizationsRequest request) List organizations
-
getOrganizationsWithAccessToLocation
public AppOuterClass.GetOrganizationsWithAccessToLocationResponse getOrganizationsWithAccessToLocation(AppOuterClass.GetOrganizationsWithAccessToLocationRequest request) Get all organizations that have access to a location.
-
listOrganizationsByUser
public AppOuterClass.ListOrganizationsByUserResponse listOrganizationsByUser(AppOuterClass.ListOrganizationsByUserRequest request) List the organizations a user belongs to
-
searchOrganizations
public AppOuterClass.SearchOrganizationsResponse searchOrganizations(AppOuterClass.SearchOrganizationsRequest request) Search organizations by a couple fields
-
getOrganization
public AppOuterClass.GetOrganizationResponse getOrganization(AppOuterClass.GetOrganizationRequest request) Get an organization
-
getOrganizationNamespaceAvailability
public AppOuterClass.GetOrganizationNamespaceAvailabilityResponse getOrganizationNamespaceAvailability(AppOuterClass.GetOrganizationNamespaceAvailabilityRequest request) Checks for namespace availablity throughout all orgs.
-
updateOrganization
public AppOuterClass.UpdateOrganizationResponse updateOrganization(AppOuterClass.UpdateOrganizationRequest request) Update an organization
-
updateOrganizationNamespace
public AppOuterClass.UpdateOrganizationNamespaceResponse updateOrganizationNamespace(AppOuterClass.UpdateOrganizationNamespaceRequest request) Update an organization's namespace if it's already been set.
-
deleteOrganization
public AppOuterClass.DeleteOrganizationResponse deleteOrganization(AppOuterClass.DeleteOrganizationRequest request) Delete an organization
-
getOrganizationMetadata
public AppOuterClass.GetOrganizationMetadataResponse getOrganizationMetadata(AppOuterClass.GetOrganizationMetadataRequest request) Get user-defined metadata for an organization
-
updateOrganizationMetadata
public AppOuterClass.UpdateOrganizationMetadataResponse updateOrganizationMetadata(AppOuterClass.UpdateOrganizationMetadataRequest request) Update user-defined metadata for an organization
-
listOrganizationMembers
public AppOuterClass.ListOrganizationMembersResponse listOrganizationMembers(AppOuterClass.ListOrganizationMembersRequest request) List all members of an organization and all invited members to the organization.
-
createOrganizationInvite
public AppOuterClass.CreateOrganizationInviteResponse createOrganizationInvite(AppOuterClass.CreateOrganizationInviteRequest request) Create an organization invite to an organization
-
updateOrganizationInviteAuthorizations
public AppOuterClass.UpdateOrganizationInviteAuthorizationsResponse updateOrganizationInviteAuthorizations(AppOuterClass.UpdateOrganizationInviteAuthorizationsRequest request) Update the authorizations attached to an organization invite
-
deleteOrganizationMember
public AppOuterClass.DeleteOrganizationMemberResponse deleteOrganizationMember(AppOuterClass.DeleteOrganizationMemberRequest request) Delete an organization member from an organization
-
deleteOrganizationInvite
public AppOuterClass.DeleteOrganizationInviteResponse deleteOrganizationInvite(AppOuterClass.DeleteOrganizationInviteRequest request) Delete an organization invite
-
resendOrganizationInvite
public AppOuterClass.ResendOrganizationInviteResponse resendOrganizationInvite(AppOuterClass.ResendOrganizationInviteRequest request) Resend an organization invite
-
enableBillingService
public AppOuterClass.EnableBillingServiceResponse enableBillingService(AppOuterClass.EnableBillingServiceRequest request) -
disableBillingService
public AppOuterClass.DisableBillingServiceResponse disableBillingService(AppOuterClass.DisableBillingServiceRequest request) -
updateBillingService
public AppOuterClass.UpdateBillingServiceResponse updateBillingService(AppOuterClass.UpdateBillingServiceRequest request) -
getBillingServiceConfig
public AppOuterClass.GetBillingServiceConfigResponse getBillingServiceConfig(AppOuterClass.GetBillingServiceConfigRequest request) -
organizationSetSupportEmail
public AppOuterClass.OrganizationSetSupportEmailResponse organizationSetSupportEmail(AppOuterClass.OrganizationSetSupportEmailRequest request) -
organizationGetSupportEmail
public AppOuterClass.OrganizationGetSupportEmailResponse organizationGetSupportEmail(AppOuterClass.OrganizationGetSupportEmailRequest request) -
organizationSetLogo
public AppOuterClass.OrganizationSetLogoResponse organizationSetLogo(AppOuterClass.OrganizationSetLogoRequest request) -
organizationGetLogo
public AppOuterClass.OrganizationGetLogoResponse organizationGetLogo(AppOuterClass.OrganizationGetLogoRequest request) -
enableAuthService
public AppOuterClass.EnableAuthServiceResponse enableAuthService(AppOuterClass.EnableAuthServiceRequest request) -
disableAuthService
public AppOuterClass.DisableAuthServiceResponse disableAuthService(AppOuterClass.DisableAuthServiceRequest request) -
createOAuthApp
public AppOuterClass.CreateOAuthAppResponse createOAuthApp(AppOuterClass.CreateOAuthAppRequest request) -
readOAuthApp
-
updateOAuthApp
public AppOuterClass.UpdateOAuthAppResponse updateOAuthApp(AppOuterClass.UpdateOAuthAppRequest request) -
deleteOAuthApp
public AppOuterClass.DeleteOAuthAppResponse deleteOAuthApp(AppOuterClass.DeleteOAuthAppRequest request) -
listOAuthApps
public AppOuterClass.ListOAuthAppsResponse listOAuthApps(AppOuterClass.ListOAuthAppsRequest request) -
createLocation
public AppOuterClass.CreateLocationResponse createLocation(AppOuterClass.CreateLocationRequest request) Create a location
-
getLocation
Get a location
-
updateLocation
public AppOuterClass.UpdateLocationResponse updateLocation(AppOuterClass.UpdateLocationRequest request) Update a location
-
deleteLocation
public AppOuterClass.DeleteLocationResponse deleteLocation(AppOuterClass.DeleteLocationRequest request) Delete a location
-
getLocationMetadata
public AppOuterClass.GetLocationMetadataResponse getLocationMetadata(AppOuterClass.GetLocationMetadataRequest request) Get user-defined metadata for a location
-
updateLocationMetadata
public AppOuterClass.UpdateLocationMetadataResponse updateLocationMetadata(AppOuterClass.UpdateLocationMetadataRequest request) Update user-defined metadata for a location
-
listLocations
public AppOuterClass.ListLocationsResponse listLocations(AppOuterClass.ListLocationsRequest request) Get a list of locations
-
locationAuth
Get a location's authorization secrets
-
createLocationSecret
public AppOuterClass.CreateLocationSecretResponse createLocationSecret(AppOuterClass.CreateLocationSecretRequest request) Create a new generated Secret in the Location. - Succeeds if there are no more than 2 active secrets after creation.
-
deleteLocationSecret
public AppOuterClass.DeleteLocationSecretResponse deleteLocationSecret(AppOuterClass.DeleteLocationSecretRequest request) Delete a Secret from the Location.
-
getRobot
Get a specific robot by ID
-
getRobotMetadata
public AppOuterClass.GetRobotMetadataResponse getRobotMetadata(AppOuterClass.GetRobotMetadataRequest request) Get user-defined metadata for a robot
-
updateRobotMetadata
public AppOuterClass.UpdateRobotMetadataResponse updateRobotMetadata(AppOuterClass.UpdateRobotMetadataRequest request) Update user-defined metadata for an robot
-
getRoverRentalRobots
public AppOuterClass.GetRoverRentalRobotsResponse getRoverRentalRobots(AppOuterClass.GetRoverRentalRobotsRequest request) Get Rover Rental Location Robots
-
getRobotParts
public AppOuterClass.GetRobotPartsResponse getRobotParts(AppOuterClass.GetRobotPartsRequest request) -
getRobotPart
Get a specific robot part by ID
-
getRobotPartByNameAndLocation
public AppOuterClass.GetRobotPartByNameAndLocationResponse getRobotPartByNameAndLocation(AppOuterClass.GetRobotPartByNameAndLocationRequest request) Get a specific robot part by name and location
-
getRobotPartLogs
public AppOuterClass.GetRobotPartLogsResponse getRobotPartLogs(AppOuterClass.GetRobotPartLogsRequest request) -
tailRobotPartLogs
public Iterator<AppOuterClass.TailRobotPartLogsResponse> tailRobotPartLogs(AppOuterClass.TailRobotPartLogsRequest request) -
getRobotPartHistory
public AppOuterClass.GetRobotPartHistoryResponse getRobotPartHistory(AppOuterClass.GetRobotPartHistoryRequest request) Get a specific robot part histy by ID
-
updateRobotPart
public AppOuterClass.UpdateRobotPartResponse updateRobotPart(AppOuterClass.UpdateRobotPartRequest request) Update a robot
-
newRobotPart
Create a new robot part
-
deleteRobotPart
public AppOuterClass.DeleteRobotPartResponse deleteRobotPart(AppOuterClass.DeleteRobotPartRequest request) Delete a robot part
-
getRobotPartMetadata
public AppOuterClass.GetRobotPartMetadataResponse getRobotPartMetadata(AppOuterClass.GetRobotPartMetadataRequest request) Get user-defined metadata for a robot part
-
updateRobotPartMetadata
public AppOuterClass.UpdateRobotPartMetadataResponse updateRobotPartMetadata(AppOuterClass.UpdateRobotPartMetadataRequest request) Update user-defined metadata for an robot part
-
getRobotAPIKeys
public AppOuterClass.GetRobotAPIKeysResponse getRobotAPIKeys(AppOuterClass.GetRobotAPIKeysRequest request) Gets the Robot API Keys for the robot
-
markPartAsMain
public AppOuterClass.MarkPartAsMainResponse markPartAsMain(AppOuterClass.MarkPartAsMainRequest request) Marks the given part as the main part, and all the others as not
-
markPartForRestart
public AppOuterClass.MarkPartForRestartResponse markPartForRestart(AppOuterClass.MarkPartForRestartRequest request) 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 AppOuterClass.CreateRobotPartSecretResponse createRobotPartSecret(AppOuterClass.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 AppOuterClass.DeleteRobotPartSecretResponse deleteRobotPartSecret(AppOuterClass.DeleteRobotPartSecretRequest request) Delete a Secret from the RobotPart.
-
listRobots
Get a list of robots at a location
-
listRobotsForLocations
public AppOuterClass.ListRobotsForLocationsResponse listRobotsForLocations(AppOuterClass.ListRobotsForLocationsRequest request) Get a list of robots at multiple locations
-
listRobotsForOrg
public AppOuterClass.ListRobotsForOrgResponse listRobotsForOrg(AppOuterClass.ListRobotsForOrgRequest request) Get a list of robots at an org
-
newRobot
NewRobot creates a new robot
-
updateRobot
UpdateRobot updates a robot
-
deleteRobot
DeleteRobot deletes a robot
-
listFragments
public AppOuterClass.ListFragmentsResponse listFragments(AppOuterClass.ListFragmentsRequest request) Gets a list of fragments
-
getFragment
Gets a single fragment
-
createFragment
public AppOuterClass.CreateFragmentResponse createFragment(AppOuterClass.CreateFragmentRequest request) Creates a fragment
-
updateFragment
public AppOuterClass.UpdateFragmentResponse updateFragment(AppOuterClass.UpdateFragmentRequest request) Updates a fragment
-
deleteFragment
public AppOuterClass.DeleteFragmentResponse deleteFragment(AppOuterClass.DeleteFragmentRequest request) Deletes a fragment
-
listNestedFragments
public AppOuterClass.ListNestedFragmentsResponse listNestedFragments(AppOuterClass.ListNestedFragmentsRequest request) List nested fragments for a fragment
-
listMachineFragments
public AppOuterClass.ListMachineFragmentsResponse listMachineFragments(AppOuterClass.ListMachineFragmentsRequest request) Gets top level and nested fragments for a machine, as well as any other specified fragment ids
-
listMachineSummaries
public AppOuterClass.ListMachineSummariesResponse listMachineSummaries(AppOuterClass.ListMachineSummariesRequest request) List all machines and their corresponding machine dashboard information
-
getFragmentHistory
public AppOuterClass.GetFragmentHistoryResponse getFragmentHistory(AppOuterClass.GetFragmentHistoryRequest request) Gets fragment history
-
getFragmentUsage
public AppOuterClass.GetFragmentUsageResponse getFragmentUsage(AppOuterClass.GetFragmentUsageRequest request) Gets usage for a fragment across versions
-
setFragmentTag
public AppOuterClass.SetFragmentTagResponse setFragmentTag(AppOuterClass.SetFragmentTagRequest request) Sets a fragment tag to a revision
-
deleteFragmentTag
public AppOuterClass.DeleteFragmentTagResponse deleteFragmentTag(AppOuterClass.DeleteFragmentTagRequest request) Deletes a fragment tag
-
addRole
Creates an IdentityAuthorization
-
removeRole
Deletes an IdentityAuthorization
-
changeRole
Changes an IdentityAuthorization to a new IdentityAuthorization
-
listAuthorizations
public AppOuterClass.ListAuthorizationsResponse listAuthorizations(AppOuterClass.ListAuthorizationsRequest request) Returns all authorization roles for a given resource
-
checkPermissions
public AppOuterClass.CheckPermissionsResponse checkPermissions(AppOuterClass.CheckPermissionsRequest request) Validates a permission for the current user
-
getRegistryItem
public AppOuterClass.GetRegistryItemResponse getRegistryItem(AppOuterClass.GetRegistryItemRequest request) -
createRegistryItem
public AppOuterClass.CreateRegistryItemResponse createRegistryItem(AppOuterClass.CreateRegistryItemRequest request) -
updateRegistryItem
public AppOuterClass.UpdateRegistryItemResponse updateRegistryItem(AppOuterClass.UpdateRegistryItemRequest request) -
listRegistryItems
public AppOuterClass.ListRegistryItemsResponse listRegistryItems(AppOuterClass.ListRegistryItemsRequest request) -
deleteRegistryItem
public AppOuterClass.DeleteRegistryItemResponse deleteRegistryItem(AppOuterClass.DeleteRegistryItemRequest request) -
renameRegistryItem
public AppOuterClass.RenameRegistryItemResponse renameRegistryItem(AppOuterClass.RenameRegistryItemRequest request) -
transferRegistryItem
public AppOuterClass.TransferRegistryItemResponse transferRegistryItem(AppOuterClass.TransferRegistryItemRequest request) -
createModule
-
updateModule
-
getModule
-
listModules
-
createKey
-
deleteKey
-
listKeys
-
renameKey
-
rotateKey
-
createKeyFromExistingKeyAuthorizations
public AppOuterClass.CreateKeyFromExistingKeyAuthorizationsResponse createKeyFromExistingKeyAuthorizations(AppOuterClass.CreateKeyFromExistingKeyAuthorizationsRequest request) -
getAppContent
public AppOuterClass.GetAppContentResponse getAppContent(AppOuterClass.GetAppContentRequest request) -
getAppBranding
public AppOuterClass.GetAppBrandingResponse getAppBranding(AppOuterClass.GetAppBrandingRequest request)
-