A B C D E F G I S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractErrorUtils<GoogleAdsFailureT extends com.google.protobuf.Message,GoogleAdsErrorT extends com.google.protobuf.Message,FieldPathElementT extends com.google.protobuf.Message> - Class in com.google.ads.googleads.lib.utils
-
Contains utility methods for handling partial failure of operations.
- AbstractErrorUtils() - Constructor for class com.google.ads.googleads.lib.utils.AbstractErrorUtils
- AbstractErrorUtils.DeserializeException - Exception in com.google.ads.googleads.lib.utils
-
Indicates an error occurred deserializing an API error object.
- AbstractErrorUtils.ErrorPath<GoogleAdsErrorType extends com.google.protobuf.Message> - Class in com.google.ads.googleads.lib.utils
-
Wrapper around a (@link GoogleAdsErrorT} specifying the location the error occurred, if available.
B
- BaseGoogleAdsException - Exception in com.google.ads.googleads.lib.stubs.exceptions
-
Base class for GoogleAdsException.
- BaseGoogleAdsException(ApiException, T, Metadata) - Constructor for exception com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException
-
Create from ApiException, GoogleAdsFailure (as Message) and metadata.
- BaseGoogleAdsException.Factory<T extends BaseGoogleAdsException,U extends com.google.protobuf.Message> - Class in com.google.ads.googleads.lib.stubs.exceptions
-
Optionally create a GoogleAdsException from a ApiException.
C
- call(RequestT, ResponseObserver<ResponseT>, ApiCallContext) - Method in class com.google.ads.googleads.lib.stubs.callables.ExceptionTransformingServerStreamingCallable
- catalogName() - Method in annotation type com.google.ads.googleads.lib.stubs.annotations.VersionDescriptor
-
Specifies a virtual namespace for the files generated by the annotation processor.
- com.google.ads.googleads.lib - package com.google.ads.googleads.lib
- com.google.ads.googleads.lib.stubs.annotations - package com.google.ads.googleads.lib.stubs.annotations
- com.google.ads.googleads.lib.stubs.callables - package com.google.ads.googleads.lib.stubs.callables
- com.google.ads.googleads.lib.stubs.exceptions - package com.google.ads.googleads.lib.stubs.exceptions
- com.google.ads.googleads.lib.utils - package com.google.ads.googleads.lib.utils
- createBaseUnaryCallable(GrpcCallSettings<RequestT, ResponseT>, UnaryCallSettings<?, ?>, ClientContext) - Static method in class com.google.ads.googleads.lib.GrpcGoogleAdsCallableFactory
- createBatchingCallable(GrpcCallSettings<RequestT, ResponseT>, BatchingCallSettings<RequestT, ResponseT>, ClientContext) - Method in class com.google.ads.googleads.lib.GrpcGoogleAdsCallableFactory
- createBidiStreamingCallable(GrpcCallSettings<RequestT, ResponseT>, StreamingCallSettings<RequestT, ResponseT>, ClientContext) - Method in class com.google.ads.googleads.lib.GrpcGoogleAdsCallableFactory
- createClientStreamingCallable(GrpcCallSettings<RequestT, ResponseT>, StreamingCallSettings<RequestT, ResponseT>, ClientContext) - Method in class com.google.ads.googleads.lib.GrpcGoogleAdsCallableFactory
- createErrorPath(GoogleAdsErrorT, FieldPathElementT) - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils
- createException(ApiException, byte[], Metadata) - Method in class com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException.Factory
- createGoogleAdsException(ApiException) - Method in class com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException.Factory
- createGoogleAdsFailure() - Method in class com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException.Factory
-
Create an empty GoogleAdsFailure instance for this version.
- createGoogleAdsFailure(byte[]) - Method in class com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException.Factory
- createKey(String) - Static method in class com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException.Factory
- createOperationCallable(GrpcCallSettings<RequestT, Operation>, OperationCallSettings<RequestT, ResponseT, MetadataT>, ClientContext, OperationsStub) - Method in class com.google.ads.googleads.lib.GrpcGoogleAdsCallableFactory
- createPagedCallable(GrpcCallSettings<RequestT, ResponseT>, PagedCallSettings<RequestT, ResponseT, PagedListResponseT>, ClientContext) - Method in class com.google.ads.googleads.lib.GrpcGoogleAdsCallableFactory
- createServerStreamingCallable(GrpcCallSettings<RequestT, ResponseT>, ServerStreamingCallSettings<RequestT, ResponseT>, ClientContext) - Method in class com.google.ads.googleads.lib.GrpcGoogleAdsCallableFactory
- createUnaryCallable(GrpcCallSettings<RequestT, ResponseT>, UnaryCallSettings<RequestT, ResponseT>, ClientContext) - Method in class com.google.ads.googleads.lib.GrpcGoogleAdsCallableFactory
D
- DeserializeException(Throwable) - Constructor for exception com.google.ads.googleads.lib.utils.AbstractErrorUtils.DeserializeException
E
- ErrorPath(GoogleAdsErrorType, String, Optional<Long>) - Constructor for class com.google.ads.googleads.lib.utils.AbstractErrorUtils.ErrorPath
- ExceptionTransformation - Interface in com.google.ads.googleads.lib.stubs.callables
-
Represents a transformation between
Throwable
s. - ExceptionTransformingServerStreamingCallable<RequestT,ResponseT> - Class in com.google.ads.googleads.lib.stubs.callables
-
Wrapper around a
ServerStreamingCallable
which invokes anExceptionTransformation
forThrowable
s which occur on the stream. - ExceptionTransformingServerStreamingCallable(ServerStreamingCallable<RequestT, ResponseT>, ExceptionTransformation) - Constructor for class com.google.ads.googleads.lib.stubs.callables.ExceptionTransformingServerStreamingCallable
- ExceptionTransformingUnaryCallable<RequestT,ResponseT> - Class in com.google.ads.googleads.lib.stubs.callables
-
Wrapper around a
UnaryCallable
which invokes anExceptionTransformation
forThrowable
s which occur on the stream. - ExceptionTransformingUnaryCallable(UnaryCallable<RequestT, ResponseT>, ExceptionTransformation, Executor) - Constructor for class com.google.ads.googleads.lib.stubs.callables.ExceptionTransformingUnaryCallable
-
Constructs a new instance.
F
- Factory() - Constructor for class com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException.Factory
- futureCall(RequestT, ApiCallContext) - Method in class com.google.ads.googleads.lib.stubs.callables.ExceptionTransformingUnaryCallable
G
- getError() - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils.ErrorPath
- getErrorPaths(GoogleAdsFailureT) - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils
- getFailedOperationIndices(GoogleAdsFailureT) - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils
-
Provides a convenience method to get distinct failed operation indices.
- getFieldName() - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils.ErrorPath
- getFieldPathElements(GoogleAdsErrorT) - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils
-
Extracts the
AbstractErrorUtils
instances from theAbstractErrorUtils
. - getGoogleAdsErrors(long, Status) - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils
-
Gets a list of all partial failure error messages for a given response.
- getGoogleAdsErrors(long, GoogleAdsFailureT) - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils
-
Return a list of
AbstractErrorUtils
instances for a given operation index. - getGoogleAdsErrors(GoogleAdsFailureT) - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils
-
Extracts the
AbstractErrorUtils
instances fromAbstractErrorUtils
. - getGoogleAdsFailure() - Method in exception com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException
-
Return the decoded GoogleAdsFailure.
- getGoogleAdsFailure(Any) - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils
-
Unpacks a single
AbstractErrorUtils
from anAny
instance. - getGoogleAdsFailure(Status) - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils
-
Unpacks the GoogleAdsFailureT instance form a partial failure status object.
- getGoogleAdsFailureClass() - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils
-
Returns the
Class
instance forAbstractErrorUtils
. - getIndex() - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils.ErrorPath
-
Returns the index portion of this error path element.
- getRequestId() - Method in exception com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException
-
Get the request id returned in the RPC trailers.
- getTrailerKey() - Method in class com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException.Factory
-
Returns a Metadata.Key representing the key which the GoogleAdsFailure is returned in the metadata.
- googleAdsExceptionFactory() - Method in annotation type com.google.ads.googleads.lib.stubs.annotations.VersionDescriptor
-
Specifies the factory to use for creating GoogleAdsException instances for this version.
- GrpcGoogleAdsCallableFactory - Class in com.google.ads.googleads.lib
-
Defines the factory used to create instances for all Google Ads services.
- GrpcGoogleAdsCallableFactory() - Constructor for class com.google.ads.googleads.lib.GrpcGoogleAdsCallableFactory
I
- isOperationIndex() - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils.ErrorPath
-
Returns if the field represents the portion of the error path that identifies the index of an operation in a request.
- isPartialFailureResult(Message) - Method in class com.google.ads.googleads.lib.utils.AbstractErrorUtils
-
Checks if a result in a mutate response is a partial failure.
S
- ServiceClientDescriptor - Annotation Type in com.google.ads.googleads.lib.stubs.annotations
-
Declares a factory method for building service clients.
- settingsClass() - Method in annotation type com.google.ads.googleads.lib.stubs.annotations.ServiceClientDescriptor
-
Specifies the instance of ClientSettings to use with the service client returned by the annotated method.
T
- transform(Throwable) - Method in interface com.google.ads.googleads.lib.stubs.callables.ExceptionTransformation
-
Transforms an input throwable to an output throwable.
V
- VersionDescriptor - Annotation Type in com.google.ads.googleads.lib.stubs.annotations
-
Specifies that a class is a factory of service clients for a version of the Google Ads API.
- versionName() - Method in annotation type com.google.ads.googleads.lib.stubs.annotations.VersionDescriptor
-
Specifies the name of the version, as in v[0-9]+
All Classes All Packages