Class CloudLoggingSettings.Builder (0.1.0)

public static final class CloudLoggingSettings.Builder extends GeneratedMessage.Builder<CloudLoggingSettings.Builder> implements CloudLoggingSettingsOrBuilder

Settings to describe the Cloud Logging behaviors for the app.

Protobuf type google.cloud.ces.v1.CloudLoggingSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CloudLoggingSettings build()
Returns
Type Description
CloudLoggingSettings

buildPartial()

public CloudLoggingSettings buildPartial()
Returns
Type Description
CloudLoggingSettings

clear()

public CloudLoggingSettings.Builder clear()
Returns
Type Description
CloudLoggingSettings.Builder
Overrides

clearEnableCloudLogging()

public CloudLoggingSettings.Builder clearEnableCloudLogging()

Optional. Whether to enable Cloud Logging for the sessions.

bool enable_cloud_logging = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CloudLoggingSettings.Builder

This builder for chaining.

getDefaultInstanceForType()

public CloudLoggingSettings getDefaultInstanceForType()
Returns
Type Description
CloudLoggingSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnableCloudLogging()

public boolean getEnableCloudLogging()

Optional. Whether to enable Cloud Logging for the sessions.

bool enable_cloud_logging = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableCloudLogging.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudLoggingSettings other)

public CloudLoggingSettings.Builder mergeFrom(CloudLoggingSettings other)
Parameter
Name Description
other CloudLoggingSettings
Returns
Type Description
CloudLoggingSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudLoggingSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudLoggingSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudLoggingSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudLoggingSettings.Builder
Overrides

setEnableCloudLogging(boolean value)

public CloudLoggingSettings.Builder setEnableCloudLogging(boolean value)

Optional. Whether to enable Cloud Logging for the sessions.

bool enable_cloud_logging = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableCloudLogging to set.

Returns
Type Description
CloudLoggingSettings.Builder

This builder for chaining.