Class UpdateServiceLevelObjectiveRequest.Builder (3.84.0)

public static final class UpdateServiceLevelObjectiveRequest.Builder extends GeneratedMessage.Builder<UpdateServiceLevelObjectiveRequest.Builder> implements UpdateServiceLevelObjectiveRequestOrBuilder

The UpdateServiceLevelObjective request.

Protobuf type google.monitoring.v3.UpdateServiceLevelObjectiveRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateServiceLevelObjectiveRequest build()
Returns
Type Description
UpdateServiceLevelObjectiveRequest

buildPartial()

public UpdateServiceLevelObjectiveRequest buildPartial()
Returns
Type Description
UpdateServiceLevelObjectiveRequest

clear()

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

clearServiceLevelObjective()

public UpdateServiceLevelObjectiveRequest.Builder clearServiceLevelObjective()

Required. The ServiceLevelObjective to draw updates from. The given name specifies the resource to update.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder

clearUpdateMask()

public UpdateServiceLevelObjectiveRequest.Builder clearUpdateMask()

A set of field paths defining which fields to use for the update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder

getDefaultInstanceForType()

public UpdateServiceLevelObjectiveRequest getDefaultInstanceForType()
Returns
Type Description
UpdateServiceLevelObjectiveRequest

getDescriptorForType()

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

getServiceLevelObjective()

public ServiceLevelObjective getServiceLevelObjective()

Required. The ServiceLevelObjective to draw updates from. The given name specifies the resource to update.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceLevelObjective

The serviceLevelObjective.

getServiceLevelObjectiveBuilder()

public ServiceLevelObjective.Builder getServiceLevelObjectiveBuilder()

Required. The ServiceLevelObjective to draw updates from. The given name specifies the resource to update.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceLevelObjective.Builder

getServiceLevelObjectiveOrBuilder()

public ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder()

Required. The ServiceLevelObjective to draw updates from. The given name specifies the resource to update.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceLevelObjectiveOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

A set of field paths defining which fields to use for the update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

A set of field paths defining which fields to use for the update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

A set of field paths defining which fields to use for the update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasServiceLevelObjective()

public boolean hasServiceLevelObjective()

Required. The ServiceLevelObjective to draw updates from. The given name specifies the resource to update.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the serviceLevelObjective field is set.

hasUpdateMask()

public boolean hasUpdateMask()

A set of field paths defining which fields to use for the update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateServiceLevelObjectiveRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeServiceLevelObjective(ServiceLevelObjective value)

public UpdateServiceLevelObjectiveRequest.Builder mergeServiceLevelObjective(ServiceLevelObjective value)

Required. The ServiceLevelObjective to draw updates from. The given name specifies the resource to update.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServiceLevelObjective
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateServiceLevelObjectiveRequest.Builder mergeUpdateMask(FieldMask value)

A set of field paths defining which fields to use for the update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder

setServiceLevelObjective(ServiceLevelObjective value)

public UpdateServiceLevelObjectiveRequest.Builder setServiceLevelObjective(ServiceLevelObjective value)

Required. The ServiceLevelObjective to draw updates from. The given name specifies the resource to update.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServiceLevelObjective
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder

setServiceLevelObjective(ServiceLevelObjective.Builder builderForValue)

public UpdateServiceLevelObjectiveRequest.Builder setServiceLevelObjective(ServiceLevelObjective.Builder builderForValue)

Required. The ServiceLevelObjective to draw updates from. The given name specifies the resource to update.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ServiceLevelObjective.Builder
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder

setUpdateMask(FieldMask value)

public UpdateServiceLevelObjectiveRequest.Builder setUpdateMask(FieldMask value)

A set of field paths defining which fields to use for the update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateServiceLevelObjectiveRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

A set of field paths defining which fields to use for the update.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder