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 classLoggingOptions.Builderstatic classLoggingOptions.DefaultLoggingFactorystatic classLoggingOptions.DefaultLoggingRpcFactory
-
Constructor Summary
Constructors Modifier Constructor Description protectedLoggingOptions(LoggingOptions.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)BooleangetAutoPopulateMetadata()com.google.api.gax.batching.BatchingSettingsgetBatchingSettings()static com.google.cloud.grpc.GrpcTransportOptionsgetDefaultGrpcTransportOptions()protected StringgetDefaultHost()static LoggingOptionsgetDefaultInstance()Returns a defaultLoggingOptionsinstance.protected LoggingRpcgetLoggingRpcV2()protected Set<String>getScopes()inthashCode()static LoggingOptions.BuildernewBuilder()LoggingOptions.BuildertoBuilder()-
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 defaultLoggingOptionsinstance.
-
getDefaultHost
protected String getDefaultHost()
- Overrides:
getDefaultHostin classcom.google.cloud.ServiceOptions<Logging,LoggingOptions>
-
getDefaultGrpcTransportOptions
public static com.google.cloud.grpc.GrpcTransportOptions getDefaultGrpcTransportOptions()
-
getScopes
protected Set<String> getScopes()
- Specified by:
getScopesin 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:
toBuilderin classcom.google.cloud.ServiceOptions<Logging,LoggingOptions>
-
newBuilder
public static LoggingOptions.Builder newBuilder()
-
-