Class ErrorHandlingSettings.Builder (0.3.0)

public static final class ErrorHandlingSettings.Builder extends GeneratedMessage.Builder<ErrorHandlingSettings.Builder> implements ErrorHandlingSettingsOrBuilder

Settings to describe how errors should be handled in the app.

Protobuf type google.cloud.ces.v1beta.ErrorHandlingSettings

Static Methods

getDescriptor()

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

Methods

build()

public ErrorHandlingSettings build()
Returns
Type Description
ErrorHandlingSettings

buildPartial()

public ErrorHandlingSettings buildPartial()
Returns
Type Description
ErrorHandlingSettings

clear()

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

clearErrorHandlingStrategy()

public ErrorHandlingSettings.Builder clearErrorHandlingStrategy()

Optional. The strategy to use for error handling.

.google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategy error_handling_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ErrorHandlingSettings.Builder

This builder for chaining.

getDefaultInstanceForType()

public ErrorHandlingSettings getDefaultInstanceForType()
Returns
Type Description
ErrorHandlingSettings

getDescriptorForType()

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

getErrorHandlingStrategy()

public ErrorHandlingSettings.ErrorHandlingStrategy getErrorHandlingStrategy()

Optional. The strategy to use for error handling.

.google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategy error_handling_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ErrorHandlingSettings.ErrorHandlingStrategy

The errorHandlingStrategy.

getErrorHandlingStrategyValue()

public int getErrorHandlingStrategyValue()

Optional. The strategy to use for error handling.

.google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategy error_handling_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for errorHandlingStrategy.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ErrorHandlingSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setErrorHandlingStrategy(ErrorHandlingSettings.ErrorHandlingStrategy value)

public ErrorHandlingSettings.Builder setErrorHandlingStrategy(ErrorHandlingSettings.ErrorHandlingStrategy value)

Optional. The strategy to use for error handling.

.google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategy error_handling_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ErrorHandlingSettings.ErrorHandlingStrategy

The errorHandlingStrategy to set.

Returns
Type Description
ErrorHandlingSettings.Builder

This builder for chaining.

setErrorHandlingStrategyValue(int value)

public ErrorHandlingSettings.Builder setErrorHandlingStrategyValue(int value)

Optional. The strategy to use for error handling.

.google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategy error_handling_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for errorHandlingStrategy to set.

Returns
Type Description
ErrorHandlingSettings.Builder

This builder for chaining.