public final class ServiceContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceContext.Account |
static class |
ServiceContext.Brand |
static class |
ServiceContext.Builder |
static class |
ServiceContext.Partner |
static class |
ServiceContext.SuperAdmin |
| Modifier and Type | Method and Description |
|---|---|
static ServiceContext |
fromProto(ServiceProviderProto.ServiceContext proto)
Allows for simple conversion between the low-level generated protobuf object to
ServiceContext, which is much more usable.
|
static List<ServiceContext> |
fromProtos(List<ServiceProviderProto.ServiceContext> protos)
Convenience method for handling lists of proto objects.
|
ServiceContext.Account |
getAccount() |
ServiceContext.Brand |
getBrand() |
ServiceContext.Partner |
getPartner() |
ServiceContext.SuperAdmin |
getSuperAdmin() |
static ServiceContext.Builder |
newBuilder()
Returns a Builder for ServiceContext, which is a mutable representation of the object.
|
ServiceProviderProto.ServiceContext |
toProto()
Allows for simple conversion of an object to the low-level generated protobuf object.
|
static List<ServiceProviderProto.ServiceContext> |
toProtos(List<ServiceContext> objects)
Convenience method for handling lists of objects.
|
String |
toString()
Provides a human-readable representation of this object.
|
public ServiceContext.Account getAccount()
public ServiceContext.Partner getPartner()
public ServiceContext.SuperAdmin getSuperAdmin()
public ServiceContext.Brand getBrand()
public static ServiceContext.Builder newBuilder()
public String toString()
public static ServiceContext fromProto(ServiceProviderProto.ServiceContext proto)
public static List<ServiceContext> fromProtos(List<ServiceProviderProto.ServiceContext> protos)
public ServiceProviderProto.ServiceContext toProto()
public static List<ServiceProviderProto.ServiceContext> toProtos(List<ServiceContext> objects)
Copyright © 2021. All rights reserved.