A B C D E F G H I J L M N O P R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abortOn(Class<? extends Exception>...) - Method in class com.google.cloud.ExceptionHandler.Builder
-
Adds the exceptions to abort on.
- addIdentity(Role, Identity, Identity...) - Method in class com.google.cloud.Policy.Builder
-
Adds one or more identities to the policy under the role specified.
- addInterceptors(ExceptionHandler.Interceptor...) - Method in class com.google.cloud.ExceptionHandler.Builder
-
Adds the exception handler interceptors.
- addLabel(String, String) - Method in class com.google.cloud.MonitoredResource.Builder
-
Adds a label to the labels of the monitored resource.
- addMembers(String, String...) - Method in class com.google.cloud.Binding.Builder
-
Add members to Policy Binding.
- afterEval(Exception, ExceptionHandler.Interceptor.RetryResult) - Method in interface com.google.cloud.ExceptionHandler.Interceptor
-
This method is called after the evaluation and could alter its result.
- ALL_AUTHENTICATED_USERS - Static variable in class com.google.cloud.Identity.Type
-
Represents anyone who is authenticated with a Google account or a service account.
- ALL_USERS - Static variable in class com.google.cloud.Identity.Type
-
Represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers() - Static method in class com.google.cloud.Identity
-
Returns a new identity representing anyone who is authenticated with a Google account or a service account.
- allUsers() - Static method in class com.google.cloud.Identity
-
Returns a new identity representing anyone who is on the internet; with or without a Google account.
- asInputStream() - Method in class com.google.cloud.ByteArray
-
Returns an
InputStream
for thisByteArray
content. - asReadOnlyByteBuffer() - Method in class com.google.cloud.ByteArray
-
Returns the content of this
ByteArray
as a read-onlyByteBuffer
. - AsyncPageImpl<T> - Class in com.google.cloud
-
Base implementation for asynchronously consuming Google Cloud paginated results.
- AsyncPageImpl(AsyncPageImpl.NextPageFetcher<T>, String, Iterable<T>) - Constructor for class com.google.cloud.AsyncPageImpl
-
Creates an
AsyncPageImpl
object. - AsyncPageImpl.NextPageFetcher<T> - Interface in com.google.cloud
-
Interface for asynchronously fetching the next page of results from the service.
B
- BaseEmulatorHelper<T extends ServiceOptions> - Class in com.google.cloud.testing
-
Utility class to start and stop a local service which is used by unit testing.
- BaseEmulatorHelper(String, int, String) - Constructor for class com.google.cloud.testing.BaseEmulatorHelper
- BaseEmulatorHelper.DownloadableEmulatorRunner - Class in com.google.cloud.testing
-
Utility class to start and run an emulator from a download URL.
- BaseEmulatorHelper.EmulatorRunner - Interface in com.google.cloud.testing
-
Utility interface to start and run an emulator.
- BaseEmulatorHelper.GcloudEmulatorRunner - Class in com.google.cloud.testing
-
Utility class to start and run an emulator from the Google Cloud SDK.
- baseEquals(ServiceOptions<?, ?>) - Method in class com.google.cloud.ServiceOptions
- BaseGrpcServiceException - Exception in com.google.cloud.grpc
-
Base class for all exceptions from grpc-based services.
- BaseGrpcServiceException(ApiException) - Constructor for exception com.google.cloud.grpc.BaseGrpcServiceException
- BaseGrpcServiceException(IOException, boolean) - Constructor for exception com.google.cloud.grpc.BaseGrpcServiceException
- BaseGrpcServiceException(String, Throwable, int, boolean) - Constructor for exception com.google.cloud.grpc.BaseGrpcServiceException
- baseHashCode() - Method in class com.google.cloud.ServiceOptions
- BaseHttpServiceException - Exception in com.google.cloud.http
-
Base class for all exceptions from http-based services.
- BaseHttpServiceException(int, String, String, boolean, Set<BaseServiceException.Error>) - Constructor for exception com.google.cloud.http.BaseHttpServiceException
- BaseHttpServiceException(int, String, String, boolean, Set<BaseServiceException.Error>, Throwable) - Constructor for exception com.google.cloud.http.BaseHttpServiceException
- BaseHttpServiceException(GoogleJsonError, boolean, Set<BaseServiceException.Error>) - Constructor for exception com.google.cloud.http.BaseHttpServiceException
- BaseHttpServiceException(IOException, boolean, Set<BaseServiceException.Error>) - Constructor for exception com.google.cloud.http.BaseHttpServiceException
- BaseService<OptionsT extends ServiceOptions<?,OptionsT>> - Class in com.google.cloud
-
Base class for service objects.
- BaseService(OptionsT) - Constructor for class com.google.cloud.BaseService
- BaseServiceException - Exception in com.google.cloud
-
Base class for all service exceptions.
- BaseServiceException(BaseServiceException.ExceptionData) - Constructor for exception com.google.cloud.BaseServiceException
- BaseServiceException.Error - Class in com.google.cloud
- BaseServiceException.ExceptionData - Class in com.google.cloud
- BaseServiceException.ExceptionData.Builder - Class in com.google.cloud
- BaseState(BaseWriteChannel.BaseState.Builder<ServiceOptionsT, EntityT>) - Constructor for class com.google.cloud.BaseWriteChannel.BaseState
- BaseWriteChannel<ServiceOptionsT extends ServiceOptions<?,ServiceOptionsT>,EntityT extends Serializable> - Class in com.google.cloud
-
Base implementation for a
WriteChannel
. - BaseWriteChannel(ServiceOptionsT, EntityT, String) - Constructor for class com.google.cloud.BaseWriteChannel
- BaseWriteChannel.BaseState<ServiceOptionsT extends ServiceOptions<?,ServiceOptionsT>,EntityT extends Serializable> - Class in com.google.cloud
- BaseWriteChannel.BaseState.Builder<ServiceOptionsT extends ServiceOptions<?,ServiceOptionsT>,EntityT extends Serializable> - Class in com.google.cloud
-
Base builder for a write channel's state.
- BaseWriteChannel.BaseState.ValueHolder - Class in com.google.cloud
- BatchResult<T,E extends BaseServiceException> - Class in com.google.cloud
-
This class holds a single result of a batch call.
- BatchResult() - Constructor for class com.google.cloud.BatchResult
- BatchResult.Callback<T,E> - Interface in com.google.cloud
-
An interface for the batch callbacks.
- beforeEval(Exception) - Method in interface com.google.cloud.ExceptionHandler.Interceptor
-
This method is called before exception evaluation and could short-circuit the process.
- Binding - Class in com.google.cloud
-
Class for Identity and Access Management (IAM) policies.
- Binding() - Constructor for class com.google.cloud.Binding
- Binding.Builder - Class in com.google.cloud
- BOOL - com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType
- buffer - Variable in class com.google.cloud.BaseWriteChannel.BaseState
- build() - Method in class com.google.cloud.BaseServiceException.ExceptionData.Builder
- build() - Method in class com.google.cloud.BaseWriteChannel.BaseState.Builder
- build() - Method in class com.google.cloud.Binding.Builder
- build() - Method in class com.google.cloud.Condition.Builder
-
Build Builder which creates a Condition instance
- build() - Method in class com.google.cloud.ExceptionHandler.Builder
-
Returns a new ExceptionHandler instance.
- build() - Method in class com.google.cloud.grpc.GrpcTransportOptions.Builder
- build() - Method in class com.google.cloud.http.HttpTransportOptions.Builder
- build() - Method in class com.google.cloud.MonitoredResource.Builder
- build() - Method in class com.google.cloud.Policy.Builder
-
Creates a
Policy
object. - build() - Method in class com.google.cloud.ServiceOptions.Builder
- Builder() - Constructor for class com.google.cloud.Binding.Builder
- Builder() - Constructor for class com.google.cloud.Condition.Builder
- Builder() - Constructor for class com.google.cloud.Policy.Builder
- Builder() - Constructor for class com.google.cloud.ServiceOptions.Builder
- Builder(Policy) - Constructor for class com.google.cloud.Policy.Builder
- Builder(ServiceOptions<ServiceT, OptionsT>) - Constructor for class com.google.cloud.ServiceOptions.Builder
- Builder(ServiceOptionsT, EntityT, String) - Constructor for class com.google.cloud.BaseWriteChannel.BaseState.Builder
- ByteArray - Class in com.google.cloud
-
An immutable byte array holder.
C
- capture() - Method in class com.google.cloud.BaseWriteChannel
- capture() - Method in interface com.google.cloud.ReadChannel
-
Captures the read channel state so that it can be saved and restored afterwards.
- capture() - Method in interface com.google.cloud.Restorable
-
Captures the state of this object.
- capture() - Method in interface com.google.cloud.WriteChannel
-
Captures the write channel state so that it can be saved and restored afterwards.
- CensusHttpModule - Class in com.google.cloud.http
-
Provides utilities for Open Census to record http stats/trace information and propagate tracing context.
- CensusHttpModule(Tracer, boolean) - Constructor for class com.google.cloud.http.CensusHttpModule
-
Creates a
CensusHttpModule
with given parameters. - chunkSize - Variable in class com.google.cloud.BaseWriteChannel.BaseState
- clearLabels() - Method in class com.google.cloud.MonitoredResource.Builder
-
Clears all the labels of the monitored resource.
- clientLibToken - Variable in class com.google.cloud.ServiceOptions
- close() - Method in class com.google.cloud.BaseWriteChannel
- close() - Method in interface com.google.cloud.ReadChannel
-
Overridden to remove IOException.
- com.google.cloud - package com.google.cloud
-
Core classes for the
google-cloud
library. - com.google.cloud.grpc - package com.google.cloud.grpc
- com.google.cloud.http - package com.google.cloud.http
- com.google.cloud.spi - package com.google.cloud.spi
- com.google.cloud.testing - package com.google.cloud.testing
- compareTo(Date) - Method in class com.google.cloud.Date
- compareTo(Timestamp) - Method in class com.google.cloud.Timestamp
- completed() - Method in class com.google.cloud.BatchResult
-
Returns
true
if the batch has been completed and the result is available;false
otherwise. - Condition - Class in com.google.cloud
-
Class for Identity and Access Management (IAM) policies.
- Condition() - Constructor for class com.google.cloud.Condition
- Condition.Builder - Class in com.google.cloud
- CONTINUE_EVALUATION - com.google.cloud.ExceptionHandler.Interceptor.RetryResult
- copyFrom(byte[]) - Static method in class com.google.cloud.ByteArray
-
Creates a
ByteArray
object given an array of bytes. - copyFrom(InputStream) - Static method in class com.google.cloud.ByteArray
-
Creates a
ByteArray
object given anInputStream
. - copyFrom(String) - Static method in class com.google.cloud.ByteArray
-
Creates a
ByteArray
object given a string. - copyFrom(ByteBuffer) - Static method in class com.google.cloud.ByteArray
-
Creates a
ByteArray
object given aByteBuffer
. - copyTo(byte[]) - Method in class com.google.cloud.ByteArray
-
Copies the content of this
ByteArray
into an array of bytes. - copyTo(ByteBuffer) - Method in class com.google.cloud.ByteArray
-
Copies the content of this
ByteArray
into an existingByteBuffer
. - create() - Method in class com.google.cloud.http.HttpTransportOptions.DefaultHttpTransportFactory
- create(String, Object) - Static method in class com.google.cloud.BaseWriteChannel.BaseState.ValueHolder
- create(OptionsT) - Method in interface com.google.cloud.spi.ServiceRpcFactory
- create(ServiceOptionsT) - Method in interface com.google.cloud.ServiceFactory
- createAndRegister(String) - Method in class com.google.cloud.StringEnumType
-
Create a new constant and register it in the known values.
- createNextAttempt(Throwable, Object, TimedAttemptSettings) - Method in class com.google.cloud.ExceptionHandler
- CREDENTIAL_ENV_NAME - Static variable in class com.google.cloud.ServiceOptions
- credentials - Variable in class com.google.cloud.ServiceOptions.Builder
- credentials - Variable in class com.google.cloud.ServiceOptions
D
- Date - Class in com.google.cloud
-
Represents a Date without time, such as 2017-03-17.
- DEFAULT_HOST - Static variable in class com.google.cloud.testing.BaseEmulatorHelper
- DEFAULT_PORT - Static variable in class com.google.cloud.testing.BaseEmulatorHelper
- DefaultExecutorFactory() - Constructor for class com.google.cloud.grpc.GrpcTransportOptions.DefaultExecutorFactory
- DefaultHttpTransportFactory() - Constructor for class com.google.cloud.http.HttpTransportOptions.DefaultHttpTransportFactory
- DefaultMarshaller() - Constructor for class com.google.cloud.Policy.DefaultMarshaller
- defaultRetrySettings() - Method in class com.google.cloud.ServiceOptions
-
Some services may have different backoff requirements listed in their SLAs.
- domain(String) - Static method in class com.google.cloud.Identity
-
Returns a new domain identity.
- DOMAIN - Static variable in class com.google.cloud.Identity.Type
-
Represents all the users of a Google Apps domain name.
- DownloadableEmulatorRunner(List<String>, URL, String) - Constructor for class com.google.cloud.testing.BaseEmulatorHelper.DownloadableEmulatorRunner
- DownloadableEmulatorRunner(List<String>, URL, String, String) - Constructor for class com.google.cloud.testing.BaseEmulatorHelper.DownloadableEmulatorRunner
E
- editor() - Static method in class com.google.cloud.Role
-
Returns the editor role.
- entity - Variable in class com.google.cloud.BaseWriteChannel.BaseState
- equals(Object) - Method in exception com.google.cloud.BaseServiceException
- equals(Object) - Method in class com.google.cloud.BaseServiceException.Error
- equals(Object) - Method in class com.google.cloud.BaseWriteChannel.BaseState
- equals(Object) - Method in class com.google.cloud.ByteArray
- equals(Object) - Method in class com.google.cloud.Date
- equals(Object) - Method in class com.google.cloud.ExceptionHandler
- equals(Object) - Method in class com.google.cloud.grpc.GrpcTransportOptions
- equals(Object) - Method in class com.google.cloud.http.HttpTransportOptions
- equals(Object) - Method in class com.google.cloud.Identity
- equals(Object) - Method in class com.google.cloud.MonitoredResource
- equals(Object) - Method in class com.google.cloud.MonitoredResourceDescriptor
- equals(Object) - Method in class com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor
- equals(Object) - Method in class com.google.cloud.NoCredentials
- equals(Object) - Method in class com.google.cloud.PageImpl
- equals(Object) - Method in class com.google.cloud.Policy
- equals(Object) - Method in class com.google.cloud.RetryOption
- equals(Object) - Method in class com.google.cloud.Role
- equals(Object) - Method in class com.google.cloud.StringEnumValue
- equals(Object) - Method in class com.google.cloud.Timestamp
- error(E) - Method in interface com.google.cloud.BatchResult.Callback
-
The method to be called when the batched operation fails.
- error(E) - Method in class com.google.cloud.BatchResult
-
Sets an error and status as completed.
- Error(Integer, String) - Constructor for class com.google.cloud.BaseServiceException.Error
- Error(Integer, String, boolean) - Constructor for class com.google.cloud.BaseServiceException.Error
- EXCEPTION_HANDLER - Static variable in class com.google.cloud.BaseService
- EXCEPTION_HANDLER_INTERCEPTOR - Static variable in class com.google.cloud.BaseService
- ExceptionHandler - Class in com.google.cloud
-
Exception retry algorithm implementation used by
RetryHelper
. - ExceptionHandler.Builder - Class in com.google.cloud
-
ExceptionHandler builder.
- ExceptionHandler.Interceptor - Interface in com.google.cloud
- ExceptionHandler.Interceptor.RetryResult - Enum in com.google.cloud
F
- FieldSelector - Interface in com.google.cloud
-
Interface for Google Cloud resource's fields.
- FieldSelector.Helper - Class in com.google.cloud
-
A helper class used to build composite selectors given a number of fields.
- findAvailablePort(int) - Static method in class com.google.cloud.testing.BaseEmulatorHelper
- flushBuffer(int, boolean) - Method in class com.google.cloud.BaseWriteChannel
- from(int, String, String, boolean) - Static method in class com.google.cloud.BaseServiceException.ExceptionData
- from(int, String, String, boolean, Throwable) - Static method in class com.google.cloud.BaseServiceException.ExceptionData
- FROM_PB_FUNCTION - Static variable in class com.google.cloud.MonitoredResourceDescriptor
- fromBase64(String) - Static method in class com.google.cloud.ByteArray
-
Creates a
ByteArray
from a base64 representation. - fromJavaUtilDate(Date) - Static method in class com.google.cloud.Date
-
Convert a Java Util Date to a Google Date.
- fromPb(MonitoredResource) - Static method in class com.google.cloud.MonitoredResource
- fromPb(MonitoredResourceDescriptor) - Static method in class com.google.cloud.MonitoredResourceDescriptor
- fromPb(Policy) - Method in class com.google.cloud.Policy.DefaultMarshaller
- fromPb(T) - Method in class com.google.cloud.Policy.Marshaller
- fromProto(Timestamp) - Static method in class com.google.cloud.Timestamp
-
Creates an instance of Timestamp from
com.google.protobuf.Timestamp
. - fromYearMonthDay(int, int, int) - Static method in class com.google.cloud.Date
-
Constructs a new Date instance.
G
- GAE_RUNTIME - Static variable in class com.google.cloud.PlatformInformation
- GcloudEmulatorRunner(List<String>, String, String) - Constructor for class com.google.cloud.testing.BaseEmulatorHelper.GcloudEmulatorRunner
- GcpLaunchStage - Class in com.google.cloud
-
A qualifier indicating what level of access and support can be expected of a particular Google Cloud Platform feature.
- GcpLaunchStage.Alpha - Annotation Type in com.google.cloud
-
Alpha is a limited availability test for releases before they are cleared for widespread use.
- GcpLaunchStage.Beta - Annotation Type in com.google.cloud
-
Beta is the point at which we are ready to open a release for any customer to use.
- GcpLaunchStage.Deprecated - Annotation Type in com.google.cloud
-
Deprecated features are scheduled to be shut down and removed.
- GcpLaunchStage.EarlyAccess - Annotation Type in com.google.cloud
-
Early Access features are limited to a closed group of testers.
- get() - Method in class com.google.cloud.BatchResult
-
Returns the result of this call.
- get() - Method in class com.google.cloud.grpc.GrpcTransportOptions.DefaultExecutorFactory
- get() - Method in interface com.google.cloud.grpc.GrpcTransportOptions.ExecutorFactory
-
Gets an executor service instance.
- getAllowedClientLibTokens() - Method in class com.google.cloud.ServiceOptions.Builder
- getApiCallSettings(RetrySettings) - Method in class com.google.cloud.grpc.GrpcTransportOptions
-
Deprecated.
- getAppEngineAppId() - Static method in class com.google.cloud.ServiceOptions
- getAppEngineProjectId() - Static method in class com.google.cloud.ServiceOptions
- getAppEngineProjectIdFromAppId() - Static method in class com.google.cloud.ServiceOptions
- getApplicationName() - Method in class com.google.cloud.ServiceOptions
-
Returns the application's name as a string in the format
gcloud-java/[version]
, optionally prepended with externally supplied User-Agent header value (via setting custom header provider). - getAttribute(String) - Static method in class com.google.cloud.MetadataConfig
- getBindings() - Method in class com.google.cloud.Policy
-
Returns the map of bindings that comprises the policy.
- getBindingsList() - Method in class com.google.cloud.Policy
-
Returns the list of bindings that comprises the policy for version 3.
- getBuffer() - Method in class com.google.cloud.BaseWriteChannel
- getCause() - Method in class com.google.cloud.BaseServiceException.ExceptionData
- getChunkSize() - Method in class com.google.cloud.BaseWriteChannel
- getClientLibToken() - Method in class com.google.cloud.ServiceOptions
- getClock() - Method in class com.google.cloud.ServiceOptions
-
Returns the service's clock.
- getClusterName() - Static method in class com.google.cloud.MetadataConfig
- getCode() - Method in class com.google.cloud.BaseServiceException.Error
-
Returns the code associated with this exception.
- getCode() - Method in class com.google.cloud.BaseServiceException.ExceptionData
- getCode() - Method in exception com.google.cloud.BaseServiceException
-
Returns the code associated with this exception.
- getCondition() - Method in class com.google.cloud.Binding
-
Get IAM Policy Binding Condition
- getConnectTimeout() - Method in class com.google.cloud.http.HttpTransportOptions
-
Returns the timeout in milliseconds to establish a connection.
- getContainerName() - Static method in class com.google.cloud.MetadataConfig
- getCredentials() - Method in class com.google.cloud.ServiceOptions
-
Returns the authentication credentials.
- getDayOfMonth() - Method in class com.google.cloud.Date
-
Returns day of month between 1 and 31 inclusive.
- getDebugInfo() - Method in class com.google.cloud.BaseServiceException.ExceptionData
- getDebugInfo() - Method in exception com.google.cloud.BaseServiceException
- getDefaultChunkSize() - Method in class com.google.cloud.BaseWriteChannel
- getDefaultHost() - Method in class com.google.cloud.ServiceOptions
- getDefaultInstance() - Static method in class com.google.cloud.ExceptionHandler
-
Returns an instance which retry any checked exception and abort on any runtime exception.
- getDefaultProject() - Method in class com.google.cloud.ServiceOptions
- getDefaultProjectId() - Static method in class com.google.cloud.ServiceOptions
-
Returns the default project ID, or
null
if no default project ID could be found. - getDefaultRetrySettings() - Static method in class com.google.cloud.ServiceOptions
- getDefaultRpcFactory() - Method in interface com.google.cloud.ServiceDefaults
- getDefaultServiceFactory() - Method in interface com.google.cloud.ServiceDefaults
- getDefaultTransportOptions() - Method in interface com.google.cloud.ServiceDefaults
- getDescription() - Method in class com.google.cloud.Condition
-
Get IAM Policy Binding Condition Description
- getDescription() - Method in class com.google.cloud.MonitoredResourceDescriptor
-
Returns an optional detailed description of the monitored resource type.
- getDescription() - Method in class com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor
-
Returns the optional human-readable description for this label.
- getDisplayName() - Method in class com.google.cloud.MonitoredResourceDescriptor
-
Returns an optional concise name for the monitored resource type.
- getEmulatorRunners() - Method in class com.google.cloud.testing.BaseEmulatorHelper
-
Returns the emulator runners supported by this emulator.
- getEntity() - Method in class com.google.cloud.BaseWriteChannel
- getEtag() - Method in class com.google.cloud.Policy
-
Returns the policy's etag.
- getExecutorFactory() - Method in class com.google.cloud.grpc.GrpcTransportOptions
-
Returns a scheduled executor service provider.
- getExpression() - Method in class com.google.cloud.Condition
-
Get IAM Policy Binding Condition Expression
- getFromServiceLoader(Class<? extends T>, T) - Static method in class com.google.cloud.ServiceOptions
- getGoogApiClientLibName() - Static method in class com.google.cloud.ServiceOptions
-
Returns the library's name used by x-goog-api-client header as a string.
- getGoogleCloudProjectId() - Static method in class com.google.cloud.ServiceOptions
- getHost() - Method in class com.google.cloud.ServiceOptions
-
Returns the service host.
- getHttpRequestInitializer(HttpRequestInitializer) - Method in class com.google.cloud.http.CensusHttpModule
-
Returns the
HttpExecuteInterceptor
used when initializing theHttpRequest
. - getHttpRequestInitializer(ServiceOptions<?, ?>) - Method in class com.google.cloud.http.HttpTransportOptions
-
Returns a request initializer responsible for initializing requests according to service options.
- getHttpTransportFactory() - Method in class com.google.cloud.http.HttpTransportOptions
-
Returns the HTTP transport factory.
- getInstance() - Static method in class com.google.cloud.NoCredentials
- getInstanceId() - Static method in class com.google.cloud.MetadataConfig
- getKey() - Method in class com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor
-
Returns the key associated to this label.
- getLabels() - Method in class com.google.cloud.MonitoredResource
-
Returns the values for all the labels required by the corresponding monitored resource descriptor (see
MonitoredResourceDescriptor.getLabels()
. - getLabels() - Method in class com.google.cloud.MonitoredResourceDescriptor
-
Returns a list of labels used to describe instances of this monitored resource type.
- getLibraryName() - Static method in class com.google.cloud.ServiceOptions
-
Returns the library's name,
gcloud-java
, as a string. - getLibraryVersion() - Method in class com.google.cloud.ServiceOptions
-
Returns the library's version as a string.
- getLimit() - Method in class com.google.cloud.BaseWriteChannel
- getLocation() - Method in class com.google.cloud.BaseServiceException.ExceptionData
- getLocation() - Method in exception com.google.cloud.BaseServiceException
-
Returns the service location where the error causing the exception occurred.
- getLogger() - Method in class com.google.cloud.testing.BaseEmulatorHelper
-
Returns a logger.
- getMembers() - Method in class com.google.cloud.Binding
-
Get IAM Policy Binding Members
- getMergedHeaderProvider(HeaderProvider) - Method in class com.google.cloud.ServiceOptions
- getMessage() - Method in class com.google.cloud.BaseServiceException.ExceptionData
- getMinChunkSize() - Method in class com.google.cloud.BaseWriteChannel
- getMonth() - Method in class com.google.cloud.Date
-
Returns the month between 1 and 12 inclusive.
- getName() - Method in class com.google.cloud.MonitoredResourceDescriptor
-
Returns an optional name for the monitored resource descriptor.
- getNamespaceId() - Static method in class com.google.cloud.MetadataConfig
- getNanos() - Method in class com.google.cloud.Timestamp
-
Returns the fractional seconds component, in nanoseconds.
- getNextPage() - Method in interface com.google.cloud.AsyncPageImpl.NextPageFetcher
- getNextPage() - Method in class com.google.cloud.PageImpl
- getNextPage() - Method in interface com.google.cloud.PageImpl.NextPageFetcher
- getNextPageAsync() - Method in class com.google.cloud.AsyncPageImpl
- getNextPageToken() - Method in class com.google.cloud.PageImpl
- getNoRetrySettings() - Static method in class com.google.cloud.ServiceOptions
- getOptions() - Method in class com.google.cloud.BaseService
- getOptions() - Method in class com.google.cloud.BaseWriteChannel
- getOptions() - Method in interface com.google.cloud.Service
- getOptions() - Method in class com.google.cloud.testing.BaseEmulatorHelper
-
Returns service options to access the local emulator.
- getPort() - Method in class com.google.cloud.testing.BaseEmulatorHelper
-
Returns the port to which the local emulator is listening.
- getPosition() - Method in class com.google.cloud.BaseWriteChannel
- getProcess() - Method in class com.google.cloud.testing.BaseEmulatorHelper.DownloadableEmulatorRunner
- getProcess() - Method in interface com.google.cloud.testing.BaseEmulatorHelper.EmulatorRunner
-
Returns the process associated to the emulator, if any.
- getProcess() - Method in class com.google.cloud.testing.BaseEmulatorHelper.GcloudEmulatorRunner
- getProjectId() - Static method in class com.google.cloud.MetadataConfig
- getProjectId() - Method in class com.google.cloud.ServiceOptions
-
Returns the project ID.
- getProjectId() - Method in class com.google.cloud.testing.BaseEmulatorHelper
-
Returns the project ID associated with the local emulator.
- getQuotaProjectId() - Method in class com.google.cloud.ServiceOptions
-
Returns the quotaProjectId that specifies the project used for quota and billing purposes.
- getReadTimeout() - Method in class com.google.cloud.http.HttpTransportOptions
-
Returns the timeout in milliseconds to read from an established connection.
- getReason() - Method in class com.google.cloud.BaseServiceException.Error
-
Returns the reason that caused the exception.
- getReason() - Method in class com.google.cloud.BaseServiceException.ExceptionData
- getReason() - Method in exception com.google.cloud.BaseServiceException
-
Returns the reason that caused the exception.
- getRetrySettings() - Method in class com.google.cloud.ServiceOptions
-
Returns configuration parameters for request retries.
- getRole() - Method in class com.google.cloud.Binding
-
Get IAM Policy Binding Role
- getRpc() - Method in class com.google.cloud.ServiceOptions
-
Returns a Service RPC object for the current service.
- getScopedCredentials() - Method in class com.google.cloud.ServiceOptions
-
Returns the authentication credentials.
- getScopes() - Method in class com.google.cloud.ServiceOptions
- getSeconds() - Method in class com.google.cloud.Timestamp
-
Returns the number of seconds since January 1, 1970, 00:00:00 UTC.
- getSelector() - Method in interface com.google.cloud.FieldSelector
-
Returns a string selector.
- getService() - Method in class com.google.cloud.ServiceOptions
-
Returns a Service object for the current service.
- getServiceAccountProjectId() - Static method in class com.google.cloud.ServiceOptions
- getTitle() - Method in class com.google.cloud.Condition
-
Get IAM Policy Binding Condition Title
- getTracer() - Method in class com.google.cloud.http.CensusHttpModule
-
Returns the tracing component of OpenCensus.
- getTransportOptions() - Method in class com.google.cloud.ServiceOptions
-
Returns the transport-specific options for this service.
- getType() - Method in class com.google.cloud.Identity
- getType() - Method in class com.google.cloud.MonitoredResource
-
Returns the monitored resource type.
- getType() - Method in class com.google.cloud.MonitoredResourceDescriptor
-
Returns the monitored resource type.
- getUploadId() - Method in class com.google.cloud.BaseWriteChannel
- getUserAgent() - Method in class com.google.cloud.ServiceOptions
- getValue() - Method in class com.google.cloud.Identity
-
Returns the string identifier for this identity.
- getValue() - Method in class com.google.cloud.Role
-
Returns the string identifier for this role.
- getValues() - Method in class com.google.cloud.PageImpl
- getValueType() - Method in class com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor
-
Returns the type of data that can be assigned to this label.
- getVersion() - Method in class com.google.cloud.Policy
-
Returns the version of the policy.
- getYear() - Method in class com.google.cloud.Date
-
Returns the year.
- getZone() - Static method in class com.google.cloud.MetadataConfig
- group(String) - Static method in class com.google.cloud.Identity
-
Returns a new group identity.
- GROUP - Static variable in class com.google.cloud.Identity.Type
-
Represents a Google group.
- GrpcTransportOptions - Class in com.google.cloud.grpc
-
Class representing service options for those services that use gRPC as the transport layer.
- GrpcTransportOptions.Builder - Class in com.google.cloud.grpc
-
Builder for
GrpcTransportOptions
. - GrpcTransportOptions.DefaultExecutorFactory - Class in com.google.cloud.grpc
- GrpcTransportOptions.ExecutorFactory<T extends ExecutorService> - Interface in com.google.cloud.grpc
-
An interface for
ExecutorService
factories.
H
- hashCode() - Method in class com.google.cloud.BaseServiceException.Error
- hashCode() - Method in exception com.google.cloud.BaseServiceException
- hashCode() - Method in class com.google.cloud.BaseWriteChannel.BaseState
- hashCode() - Method in class com.google.cloud.ByteArray
- hashCode() - Method in class com.google.cloud.Date
- hashCode() - Method in class com.google.cloud.ExceptionHandler
- hashCode() - Method in class com.google.cloud.grpc.GrpcTransportOptions
- hashCode() - Method in class com.google.cloud.http.HttpTransportOptions
- hashCode() - Method in class com.google.cloud.Identity
- hashCode() - Method in class com.google.cloud.MonitoredResource
- hashCode() - Method in class com.google.cloud.MonitoredResourceDescriptor
- hashCode() - Method in class com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor
- hashCode() - Method in class com.google.cloud.NoCredentials
- hashCode() - Method in class com.google.cloud.PageImpl
- hashCode() - Method in class com.google.cloud.Policy
- hashCode() - Method in class com.google.cloud.RetryOption
- hashCode() - Method in class com.google.cloud.Role
- hashCode() - Method in class com.google.cloud.StringEnumValue
- hashCode() - Method in class com.google.cloud.Timestamp
- hasNextPage() - Method in class com.google.cloud.PageImpl
- HttpTransportOptions - Class in com.google.cloud.http
-
Class representing service options for those services that use HTTP as the transport layer.
- HttpTransportOptions(HttpTransportOptions.Builder) - Constructor for class com.google.cloud.http.HttpTransportOptions
- HttpTransportOptions.Builder - Class in com.google.cloud.http
-
Builder for
HttpTransportOptions
. - HttpTransportOptions.DefaultHttpTransportFactory - Class in com.google.cloud.http
I
- Identity - Class in com.google.cloud
-
An identity in a
Policy
. - IDENTITY_STR_VALUE_FUNCTION - Static variable in class com.google.cloud.Policy.Marshaller
- IDENTITY_VALUE_OF_FUNCTION - Static variable in class com.google.cloud.Policy.Marshaller
- Identity.Type - Class in com.google.cloud
-
The types of IAM identities.
- initialRetryDelay(Duration) - Static method in class com.google.cloud.RetryOption
-
See
RetrySettings.getInitialRetryDelay()
. - INT64 - com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType
- isAvailable() - Method in class com.google.cloud.testing.BaseEmulatorHelper.DownloadableEmulatorRunner
- isAvailable() - Method in interface com.google.cloud.testing.BaseEmulatorHelper.EmulatorRunner
-
Returns
true
if the emulator associated to this runner is available and can be started. - isAvailable() - Method in class com.google.cloud.testing.BaseEmulatorHelper.GcloudEmulatorRunner
- isOnGAEStandard7() - Static method in class com.google.cloud.PlatformInformation
- isOnGAEStandard8() - Static method in class com.google.cloud.PlatformInformation
- isOpen - Variable in class com.google.cloud.BaseWriteChannel.BaseState
- isOpen() - Method in class com.google.cloud.BaseWriteChannel
- isRecordEvents() - Method in class com.google.cloud.http.CensusHttpModule
-
Returns whether spans are stored locally.
- isRejected() - Method in class com.google.cloud.BaseServiceException.Error
-
Returns true if the error indicates that the API call was certainly not accepted by the server.
- isRetryable() - Method in class com.google.cloud.BaseServiceException.ExceptionData
- isRetryable() - Method in exception com.google.cloud.BaseServiceException
-
Returns
true
when it is safe to retry the operation that caused this exception. - isRetryable(boolean, IOException) - Static method in exception com.google.cloud.BaseServiceException
- isRetryable(boolean, Set<BaseServiceException.Error>) - Method in class com.google.cloud.BaseServiceException.Error
- isRetryable(Integer, String, boolean, Set<BaseServiceException.Error>) - Static method in exception com.google.cloud.BaseServiceException
- isWindows() - Static method in class com.google.cloud.testing.BaseEmulatorHelper
- iterateAll() - Method in class com.google.cloud.PageImpl
- iterator() - Method in class com.google.cloud.ByteArray
J
- jittered(boolean) - Static method in class com.google.cloud.RetryOption
-
See
RetrySettings.isJittered()
()}.
L
- length() - Method in class com.google.cloud.ByteArray
-
Returns the number of bytes in this
ByteArray
. - limit() - Method in interface com.google.cloud.ReadChannel
-
The currently defined limit for this channel.
- limit(long) - Method in interface com.google.cloud.ReadChannel
-
Limit the maximum number of bytes to be read from the objects content, counting from the beginning of the object, which will be available to read from this channel.
- listSelector(String[], String, List<? extends FieldSelector>, FieldSelector[], String...) - Static method in class com.google.cloud.FieldSelector.Helper
-
Returns a composite selector given a number of top level fields as strings, a number of resource fields and a container name.
- listSelector(String, List<? extends FieldSelector>, FieldSelector...) - Static method in class com.google.cloud.FieldSelector.Helper
-
Returns a composite selector given a number of resource fields and a container name.
- listSelector(String, List<? extends FieldSelector>, FieldSelector[], String...) - Static method in class com.google.cloud.FieldSelector.Helper
-
Returns a composite selector given a number of resource fields and a container name.
M
- Marshaller() - Constructor for class com.google.cloud.Policy.Marshaller
- MAX_VALUE - Static variable in class com.google.cloud.Timestamp
-
The largest legal timestamp ("9999-12-31T23:59:59Z").
- maxAttempts(int) - Static method in class com.google.cloud.RetryOption
-
See
RetrySettings.getMaxAttempts()
. - maxRetryDelay(Duration) - Static method in class com.google.cloud.RetryOption
-
See
RetrySettings.getMaxRetryDelay()
. - mergeToSettings(RetrySettings, RetryOption...) - Static method in class com.google.cloud.RetryOption
-
Creates a new
RetrySettings
instance, merging provided settings and multipleRetryOptions
, each of which represents a single property inRetrySettings
. - MetadataConfig - Class in com.google.cloud
-
Retrieves Google Cloud project-id and a limited set of instance attributes from Metadata server.
- MIN_VALUE - Static variable in class com.google.cloud.Timestamp
-
The smallest legal timestamp ("0001-01-01T00:00:00Z").
- MonitoredResource - Class in com.google.cloud
-
Objects of this class represent a resource that can be used for monitoring, logging, billing, or other purposes.
- MonitoredResource.Builder - Class in com.google.cloud
-
A builder for
MonitoredResource
objects. - MonitoredResourceDescriptor - Class in com.google.cloud
-
This class describes the schema of Cloud monitored resources.
- MonitoredResourceDescriptor.LabelDescriptor - Class in com.google.cloud
-
This class describes a label for a monitored resource.
- MonitoredResourceDescriptor.LabelDescriptor.ValueType - Enum in com.google.cloud
-
Value types that can be used as label values.
N
- name() - Method in class com.google.cloud.StringEnumValue
- newBuilder() - Static method in class com.google.cloud.BaseServiceException.ExceptionData
- newBuilder() - Static method in class com.google.cloud.Binding
-
Create a new Binding.Builder
- newBuilder() - Static method in class com.google.cloud.Condition
-
Create a new Condition.Builder
- newBuilder() - Static method in class com.google.cloud.ExceptionHandler
- newBuilder() - Static method in class com.google.cloud.grpc.GrpcTransportOptions
- newBuilder() - Static method in class com.google.cloud.http.HttpTransportOptions
- newBuilder() - Static method in class com.google.cloud.Policy
-
Returns a builder for
Policy
objects. - newBuilder(String) - Static method in class com.google.cloud.MonitoredResource
-
Returns a builder for
MonitoredResource
objects given the resource's type. - newInstance(String) - Static method in class com.google.cloud.ServiceOptions
- nextRequestOptions(T, String, Map<T, ?>) - Static method in class com.google.cloud.PageImpl
-
Utility method to construct the options map for the next page request.
- NO_RETRY - com.google.cloud.ExceptionHandler.Interceptor.RetryResult
- NoCredentials - Class in com.google.cloud
-
A placeholder for credentials to signify that requests sent to the server should not be authenticated.
- notify(BatchResult.Callback<T, E>) - Method in class com.google.cloud.BatchResult
-
Adds a callback for the batch operation.
- now() - Static method in class com.google.cloud.Timestamp
-
Creates an instance with current time.
O
- of(String) - Static method in class com.google.cloud.Role
-
Returns a new role given its string value.
- of(String, Map<String, String>) - Static method in class com.google.cloud.MonitoredResource
-
Creates a
MonitoredResource
object given the resource's type and labels. - of(Timestamp) - Static method in class com.google.cloud.Timestamp
-
Creates an instance representing the value of
timestamp
. - of(Date) - Static method in class com.google.cloud.Timestamp
-
Creates an instance representing the value of
Date
. - of(X, Y) - Static method in class com.google.cloud.Tuple
- ofTimeMicroseconds(long) - Static method in class com.google.cloud.Timestamp
-
Creates an instance representing the value of
microseconds
. - ofTimeSecondsAndNanos(long, int) - Static method in class com.google.cloud.Timestamp
-
Creates an instance representing the value of
seconds
andnanos
since January 1, 1970, 00:00:00 UTC. - owner() - Static method in class com.google.cloud.Role
-
Returns the owner role.
P
- PageImpl<T> - Class in com.google.cloud
-
Base implementation for Google Cloud paginated results.
- PageImpl(PageImpl.NextPageFetcher<T>, String, Iterable<T>) - Constructor for class com.google.cloud.PageImpl
-
Creates a
PageImpl
object. - PageImpl.NextPageFetcher<T> - Interface in com.google.cloud
-
Interface for fetching the next page of results from the service.
- parseDate(String) - Static method in class com.google.cloud.Date
- parseTimestamp(String) - Static method in class com.google.cloud.Timestamp
-
Creates a Timestamp instance from the given string.
- PlatformInformation - Class in com.google.cloud
- Policy - Class in com.google.cloud
-
Class for Identity and Access Management (IAM) policies.
- Policy.Builder - Class in com.google.cloud
-
A builder for
Policy
objects. - Policy.DefaultMarshaller - Class in com.google.cloud
- Policy.Marshaller<T> - Class in com.google.cloud
- poll(Callable<V>, RetrySettings, ResultRetryAlgorithm<V>, ApiClock) - Static method in class com.google.cloud.RetryHelper
- position - Variable in class com.google.cloud.BaseWriteChannel.BaseState
- PROJECT_EDITOR - Static variable in class com.google.cloud.Identity.Type
-
Represents editors of a Google Cloud Platform project.
- PROJECT_ID_PREFIX - Static variable in class com.google.cloud.testing.BaseEmulatorHelper
- PROJECT_OWNER - Static variable in class com.google.cloud.Identity.Type
-
Represents owners of a Google Cloud Platform project.
- PROJECT_VIEWER - Static variable in class com.google.cloud.Identity.Type
-
Represents viewers of a Google Cloud Platform project.
- projectEditor(String) - Static method in class com.google.cloud.Identity
-
Returns a new project editor identity.
- projectIdRequired() - Method in class com.google.cloud.ServiceOptions
-
Returns whether a service requires a project ID.
- projectOwner(String) - Static method in class com.google.cloud.Identity
-
Returns a new project owner identity.
- projectViewer(String) - Static method in class com.google.cloud.Identity
-
Returns a new project viewer identity.
R
- ReadChannel - Interface in com.google.cloud
-
A channel for reading data from a Google Cloud object.
- release(ScheduledExecutorService) - Method in class com.google.cloud.grpc.GrpcTransportOptions.DefaultExecutorFactory
- release(T) - Method in interface com.google.cloud.grpc.GrpcTransportOptions.ExecutorFactory
-
Releases resources used by the executor and possibly shuts it down.
- removeIdentity(Role, Identity, Identity...) - Method in class com.google.cloud.Policy.Builder
-
Removes one or more identities from an existing binding.
- removeMembers(String...) - Method in class com.google.cloud.Binding.Builder
-
Remove members to Policy Binding.
- removeRole(Role) - Method in class com.google.cloud.Policy.Builder
-
Removes the role (and all identities associated with that role) from the policy.
- reset() - Method in class com.google.cloud.testing.BaseEmulatorHelper
-
Resets the internal state of the emulator.
- Restorable<T extends Restorable<T>> - Interface in com.google.cloud
-
Implementation of this interface can persist their state and restore from it.
- RestorableState<T extends Restorable<T>> - Interface in com.google.cloud
-
A common interface for restorable states.
- restore() - Method in interface com.google.cloud.RestorableState
-
Returns an object whose internal state reflects the one saved in the invocation object.
- restore(BaseWriteChannel.BaseState) - Method in class com.google.cloud.BaseWriteChannel
-
Restores the state of the current write channel given a
BaseWriteChannel.BaseState
object. - RETRY - com.google.cloud.ExceptionHandler.Interceptor.RetryResult
- retryDelayMultiplier(double) - Static method in class com.google.cloud.RetryOption
-
See
RetrySettings.getRetryDelayMultiplier()
. - RetryHelper - Class in com.google.cloud
-
Utility class for retrying operations.
- RetryHelper() - Constructor for class com.google.cloud.RetryHelper
- RetryHelper.RetryHelperException - Exception in com.google.cloud
- retryOn(Class<? extends Exception>...) - Method in class com.google.cloud.ExceptionHandler.Builder
-
Add the exceptions to ignore/retry-on.
- RetryOption - Class in com.google.cloud
-
This class represents an options wrapper around the
RetrySettings
class and is an alternative way of initializing it. - Role - Class in com.google.cloud
-
A role in a IAM
Policy
. - runWithRetries(Callable<V>, RetrySettings, ResultRetryAlgorithm<?>, ApiClock) - Static method in class com.google.cloud.RetryHelper
S
- seek(long) - Method in interface com.google.cloud.ReadChannel
-
Set the offset to read from.
- selector(List<? extends FieldSelector>, FieldSelector...) - Static method in class com.google.cloud.FieldSelector.Helper
-
Returns a composite selector given a number of resource fields.
- self() - Method in class com.google.cloud.ServiceOptions.Builder
- sendPostRequest(String) - Method in class com.google.cloud.testing.BaseEmulatorHelper
- Service<OptionsT extends ServiceOptions<?,OptionsT>> - Interface in com.google.cloud
-
Interface for service objects.
- SERVICE_ACCOUNT - Static variable in class com.google.cloud.Identity.Type
-
Represents a service account.
- serviceAccount(String) - Static method in class com.google.cloud.Identity
-
Returns a new service account identity.
- ServiceDefaults<ServiceT extends Service<OptionsT>,OptionsT extends ServiceOptions<ServiceT,OptionsT>> - Interface in com.google.cloud
- ServiceFactory<ServiceT extends Service,ServiceOptionsT extends ServiceOptions> - Interface in com.google.cloud
-
A base interface for all service factories.
- serviceOptions - Variable in class com.google.cloud.BaseWriteChannel.BaseState
- ServiceOptions<ServiceT extends Service<OptionsT>,OptionsT extends ServiceOptions<ServiceT,OptionsT>> - Class in com.google.cloud
-
Abstract class representing service options.
- ServiceOptions(Class<? extends ServiceFactory<ServiceT, OptionsT>>, Class<? extends ServiceRpcFactory<OptionsT>>, ServiceOptions.Builder<ServiceT, OptionsT, ?>, ServiceDefaults<ServiceT, OptionsT>) - Constructor for class com.google.cloud.ServiceOptions
- ServiceOptions.Builder<ServiceT extends Service<OptionsT>,OptionsT extends ServiceOptions<ServiceT,OptionsT>,B extends ServiceOptions.Builder<ServiceT,OptionsT,B>> - Class in com.google.cloud
-
Builder for
ServiceOptions
. - ServiceRpc - Interface in com.google.cloud
- ServiceRpcFactory<OptionsT extends ServiceOptions> - Interface in com.google.cloud.spi
-
A base interface for all service RPC factories.
- setBindings(List<Binding>) - Method in class com.google.cloud.Policy.Builder
-
Replaces the builder's List of bindings with the given List of Bindings.
- setBindings(Map<Role, Set<Identity>>) - Method in class com.google.cloud.Policy.Builder
-
Replaces the builder's map of bindings with the given map of bindings.
- setBuffer(byte[]) - Method in class com.google.cloud.BaseWriteChannel.BaseState.Builder
- setCause(Throwable) - Method in class com.google.cloud.BaseServiceException.ExceptionData.Builder
- setChunkSize(int) - Method in class com.google.cloud.BaseWriteChannel.BaseState.Builder
- setChunkSize(int) - Method in class com.google.cloud.BaseWriteChannel
- setChunkSize(int) - Method in interface com.google.cloud.ReadChannel
-
Sets the minimum size that will be read by a single RPC.
- setChunkSize(int) - Method in interface com.google.cloud.WriteChannel
-
Sets the minimum size that will be written by a single RPC.
- setClientLibToken(String) - Method in class com.google.cloud.ServiceOptions.Builder
- setClock(ApiClock) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the service's clock.
- setCode(int) - Method in class com.google.cloud.BaseServiceException.ExceptionData.Builder
- setCondition(Condition) - Method in class com.google.cloud.Binding.Builder
-
Set IAM Condition for Policy Binding
- setConnectTimeout(int) - Method in class com.google.cloud.http.HttpTransportOptions.Builder
-
Sets the timeout in milliseconds to establish a connection.
- setCredentials(Credentials) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the service authentication credentials.
- setDebugInfo(String) - Method in class com.google.cloud.BaseServiceException.ExceptionData.Builder
- setDescription(String) - Method in class com.google.cloud.Condition.Builder
-
Set IAM Policy Binding Condition Description
- setEtag(String) - Method in class com.google.cloud.Policy.Builder
-
Sets the policy's etag.
- setExecutorFactory(GrpcTransportOptions.ExecutorFactory<ScheduledExecutorService>) - Method in class com.google.cloud.grpc.GrpcTransportOptions.Builder
-
Sets the scheduled executor factory.
- setExpression(String) - Method in class com.google.cloud.Condition.Builder
-
Set IAM Policy Binding Condition Expression
- setHeaderProvider(HeaderProvider) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the static header provider.
- setHost(String) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets service host.
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.cloud.http.HttpTransportOptions.Builder
-
Sets the HTTP transport factory.
- setIsOpen(boolean) - Method in class com.google.cloud.BaseWriteChannel.BaseState.Builder
- setLabels(Map<String, String>) - Method in class com.google.cloud.MonitoredResource.Builder
-
Sets the values for all the labels required by the corresponding monitored resource descriptor (see
MonitoredResourceDescriptor.getLabels()
. - setLocation(String) - Method in class com.google.cloud.BaseServiceException.ExceptionData.Builder
- setMembers(Iterable<String>) - Method in class com.google.cloud.Binding.Builder
-
Set IAM Members for Policy Binding
- setMessage(String) - Method in class com.google.cloud.BaseServiceException.ExceptionData.Builder
- setPosition(long) - Method in class com.google.cloud.BaseWriteChannel.BaseState.Builder
- setProjectId(String) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the project ID.
- setQuotaProjectId(String) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the quotaProjectId that specifies the project used for quota and billing purposes.
- setReadTimeout(int) - Method in class com.google.cloud.http.HttpTransportOptions.Builder
-
Sets the timeout in milliseconds to read data from an established connection.
- setReason(String) - Method in class com.google.cloud.BaseServiceException.ExceptionData.Builder
- setRetryable(boolean) - Method in class com.google.cloud.BaseServiceException.ExceptionData.Builder
- setRetrySettings(RetrySettings) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets configuration parameters for request retries.
- setRole(String) - Method in class com.google.cloud.Binding.Builder
-
Set IAM Role for Policy Binding
- setServiceFactory(ServiceFactory<ServiceT, OptionsT>) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the service factory.
- setServiceRpcFactory(ServiceRpcFactory<OptionsT>) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the factory for rpc services.
- setTitle(String) - Method in class com.google.cloud.Condition.Builder
-
Set IAM Policy Binding Condition Title
- setTransportOptions(TransportOptions) - Method in class com.google.cloud.ServiceOptions.Builder
-
Sets the transport options.
- setType(String) - Method in class com.google.cloud.MonitoredResource.Builder
-
Sets the monitored resource type.
- setUpChannelProvider(InstantiatingGrpcChannelProvider.Builder, ServiceOptions<?, ?>) - Static method in class com.google.cloud.grpc.GrpcTransportOptions
-
Returns a channel provider from the given default provider.
- setUpCredentialsProvider(ServiceOptions<?, ?>) - Static method in class com.google.cloud.grpc.GrpcTransportOptions
- setVersion(int) - Method in class com.google.cloud.Policy.Builder
-
Sets the version of the policy.
- shouldRefreshRpc(ServiceRpc) - Method in class com.google.cloud.ServiceOptions
- shouldRefreshService(ServiceT) - Method in class com.google.cloud.ServiceOptions
- shouldRetry(Throwable, Object) - Method in class com.google.cloud.ExceptionHandler
- start() - Method in class com.google.cloud.testing.BaseEmulatorHelper.DownloadableEmulatorRunner
- start() - Method in interface com.google.cloud.testing.BaseEmulatorHelper.EmulatorRunner
-
Starts the emulator associated to this runner.
- start() - Method in class com.google.cloud.testing.BaseEmulatorHelper.GcloudEmulatorRunner
- start() - Method in class com.google.cloud.testing.BaseEmulatorHelper
-
Starts the local emulator.
- startProcess(String) - Method in class com.google.cloud.testing.BaseEmulatorHelper
-
Starts the local service as a subprocess.
- stateBuilder() - Method in class com.google.cloud.BaseWriteChannel
-
Creates a
BaseWriteChannel.BaseState.Builder
for the current write channel. - stop(Duration) - Method in class com.google.cloud.testing.BaseEmulatorHelper
-
Stops the local emulator.
- STRING - com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType
- StringEnumType<EnumT> - Class in com.google.cloud
-
This represents a concept having a known set of acceptable String values, which can expand later due to new API features.
- StringEnumType(Class<EnumT>, ApiFunction<String, EnumT>) - Constructor for class com.google.cloud.StringEnumType
- StringEnumValue - Class in com.google.cloud
-
This represents a specific instance of a concept having a known set of acceptable String values, which can expand later due to new API features.
- StringEnumValue(String) - Constructor for class com.google.cloud.StringEnumValue
-
Don't create subclasses outside of google-cloud-java.
- strValue() - Method in class com.google.cloud.Identity
-
Returns the string value associated with the identity.
- success(T) - Method in interface com.google.cloud.BatchResult.Callback
-
The method to be called when the batched operation succeeds.
- success(T) - Method in class com.google.cloud.BatchResult
-
Sets a result and status as completed.
T
- Timestamp - Class in com.google.cloud
-
Represents a timestamp with nanosecond precision.
- toBase64() - Method in class com.google.cloud.ByteArray
-
Converts this byte array to its base64 representation.
- toBuilder() - Method in class com.google.cloud.Binding
-
Create a Binding.Builder from an existing Binding
- toBuilder() - Method in class com.google.cloud.Condition
-
Create a new Condition.Builder from an existing Condition
- toBuilder() - Method in class com.google.cloud.grpc.GrpcTransportOptions
- toBuilder() - Method in class com.google.cloud.http.HttpTransportOptions
- toBuilder() - Method in class com.google.cloud.MonitoredResource
-
Returns a builder for this
MonitoredResource
object. - toBuilder() - Method in class com.google.cloud.Policy
-
Returns a builder containing the properties of this IAM Policy.
- toBuilder() - Method in class com.google.cloud.ServiceOptions
- toByteArray() - Method in class com.google.cloud.ByteArray
-
Returns a copy of this
ByteArray
as an array of bytes. - toDate() - Method in class com.google.cloud.Timestamp
-
Returns a new
java.util.Date
corresponding to thistimestamp
. - toJavaUtilDate(Date) - Static method in class com.google.cloud.Date
-
Convert a Google Date to a Java Util Date.
- toPb() - Method in class com.google.cloud.MonitoredResource
- toPb() - Method in class com.google.cloud.MonitoredResourceDescriptor
- toPb(Policy) - Method in class com.google.cloud.Policy.DefaultMarshaller
- toPb(Policy) - Method in class com.google.cloud.Policy.Marshaller
- toProto() - Method in class com.google.cloud.Timestamp
-
Returns a
com.google.protobuf.Timestamp
initialized to the same point in time asthis
. - toSqlTimestamp() - Method in class com.google.cloud.Timestamp
-
Returns a JDBC timestamp initialized to the same point in time as
this
. - toString() - Method in class com.google.cloud.BaseServiceException.Error
- toString() - Method in class com.google.cloud.BaseWriteChannel.BaseState
- toString() - Method in class com.google.cloud.BaseWriteChannel.BaseState.ValueHolder
- toString() - Method in class com.google.cloud.ByteArray
- toString() - Method in class com.google.cloud.Date
- toString() - Method in class com.google.cloud.Identity
- toString() - Method in class com.google.cloud.MonitoredResource
- toString() - Method in class com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor
- toString() - Method in class com.google.cloud.MonitoredResourceDescriptor
- toString() - Method in class com.google.cloud.Policy
- toString() - Method in class com.google.cloud.Role
- toString() - Method in class com.google.cloud.StringEnumValue
- toString() - Method in class com.google.cloud.Timestamp
- toStringHelper() - Method in class com.google.cloud.BaseWriteChannel.BaseState
- toStringUtf8() - Method in class com.google.cloud.ByteArray
-
Returns a copy of this
ByteArray
as anUTF-8
string. - totalTimeout(Duration) - Static method in class com.google.cloud.RetryOption
-
See
RetrySettings.getTotalTimeout()
. - translate(RetryHelper.RetryHelperException) - Static method in exception com.google.cloud.BaseServiceException
- translate(ExecutionException) - Static method in exception com.google.cloud.BaseServiceException
- TransportOptions - Interface in com.google.cloud
-
An abstraction for transport-specific options, e.g.
- Tuple<X,Y> - Class in com.google.cloud
U
- UNKNOWN_CODE - Static variable in exception com.google.cloud.BaseServiceException
- UNKNOWN_CODE - Static variable in exception com.google.cloud.http.BaseHttpServiceException
- uploadId - Variable in class com.google.cloud.BaseWriteChannel.BaseState
- user(String) - Static method in class com.google.cloud.Identity
-
Returns a new user identity.
- USER - Static variable in class com.google.cloud.Identity.Type
-
Represents a specific Google account.
V
- valueOf(String) - Static method in enum com.google.cloud.ExceptionHandler.Interceptor.RetryResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.google.cloud.Identity.Type
-
Get the Type for the given String constant, and allow unrecognized values.
- valueOf(String) - Static method in class com.google.cloud.Identity
-
Converts a string to an
Identity
. - valueOf(String) - Static method in enum com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Method in class com.google.cloud.StringEnumType
-
Get the enum object for the given String constant, and allow unrecognized values.
- valueOfStrict(String) - Static method in class com.google.cloud.Identity.Type
-
Get the Type for the given String constant, and throw an exception if the constant is not recognized.
- valueOfStrict(String) - Method in class com.google.cloud.StringEnumType
-
Get the enum object for the given String constant, and throw an exception if the constant is not recognized.
- values() - Static method in enum com.google.cloud.ExceptionHandler.Interceptor.RetryResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in class com.google.cloud.Identity.Type
-
Return the known values for Type.
- values() - Static method in enum com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.google.cloud.StringEnumType
-
Return the known values of this enum type.
- viewer() - Static method in class com.google.cloud.Role
-
Returns the viewer role.
W
- waitFor(Duration) - Method in class com.google.cloud.testing.BaseEmulatorHelper.DownloadableEmulatorRunner
- waitFor(Duration) - Method in interface com.google.cloud.testing.BaseEmulatorHelper.EmulatorRunner
-
Wait for the emulator associated to this runner to terminate, returning the exit status.
- waitFor(Duration) - Method in class com.google.cloud.testing.BaseEmulatorHelper.GcloudEmulatorRunner
- waitForProcess(Duration) - Method in class com.google.cloud.testing.BaseEmulatorHelper
-
Waits for the local service's subprocess to terminate, and stop any possible thread listening for its output.
- write(ByteBuffer) - Method in class com.google.cloud.BaseWriteChannel
- WriteChannel - Interface in com.google.cloud
-
A channel for writing data to Google Cloud services.
X
Y
A B C D E F G H I J L M N O P R S T U V W X YAll Classes All Packages