Package com.google.cloud.logging
Class LoggingOptions
- java.lang.Object
-
- com.google.cloud.ServiceOptions<Logging,LoggingOptions>
-
- com.google.cloud.logging.LoggingOptions
-
- All Implemented Interfaces:
Serializable
public class LoggingOptions extends com.google.cloud.ServiceOptions<Logging,LoggingOptions>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoggingOptions.Builder
static class
LoggingOptions.DefaultLoggingFactory
static class
LoggingOptions.DefaultLoggingRpcFactory
-
Constructor Summary
Constructors Modifier Constructor Description protected
LoggingOptions(LoggingOptions.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Boolean
getAutoPopulateMetadata()
com.google.api.gax.batching.BatchingSettings
getBatchingSettings()
static com.google.cloud.grpc.GrpcTransportOptions
getDefaultGrpcTransportOptions()
protected String
getDefaultHost()
static LoggingOptions
getDefaultInstance()
Returns a defaultLoggingOptions
instance.protected LoggingRpc
getLoggingRpcV2()
protected Set<String>
getScopes()
int
hashCode()
static LoggingOptions.Builder
newBuilder()
LoggingOptions.Builder
toBuilder()
-
Methods inherited from class com.google.cloud.ServiceOptions
baseEquals, baseHashCode, defaultRetrySettings, getAppEngineAppId, getAppEngineProjectId, getAppEngineProjectIdFromAppId, getApplicationName, getClientLibToken, getClock, getCredentials, getDefaultProject, getDefaultProjectId, getDefaultRetrySettings, getFromServiceLoader, getGoogApiClientLibName, getGoogleCloudProjectId, getHost, getLibraryName, getLibraryVersion, getMergedHeaderProvider, getNoRetrySettings, getProjectId, getQuotaProjectId, getRetrySettings, getRpc, getScopedCredentials, getService, getServiceAccountProjectId, getTransportOptions, getUserAgent, newInstance, projectIdRequired, shouldRefreshRpc, shouldRefreshService
-
-
-
-
Constructor Detail
-
LoggingOptions
@InternalApi("This class should only be extended within google-cloud-java") protected LoggingOptions(LoggingOptions.Builder builder)
-
-
Method Detail
-
getDefaultInstance
public static LoggingOptions getDefaultInstance()
Returns a defaultLoggingOptions
instance.
-
getDefaultHost
protected String getDefaultHost()
- Overrides:
getDefaultHost
in classcom.google.cloud.ServiceOptions<Logging,LoggingOptions>
-
getDefaultGrpcTransportOptions
public static com.google.cloud.grpc.GrpcTransportOptions getDefaultGrpcTransportOptions()
-
getScopes
protected Set<String> getScopes()
- Specified by:
getScopes
in classcom.google.cloud.ServiceOptions<Logging,LoggingOptions>
-
getLoggingRpcV2
protected LoggingRpc getLoggingRpcV2()
-
getAutoPopulateMetadata
public Boolean getAutoPopulateMetadata()
-
getBatchingSettings
public com.google.api.gax.batching.BatchingSettings getBatchingSettings()
-
toBuilder
public LoggingOptions.Builder toBuilder()
- Specified by:
toBuilder
in classcom.google.cloud.ServiceOptions<Logging,LoggingOptions>
-
newBuilder
public static LoggingOptions.Builder newBuilder()
-
-