Class UpdateServiceLevelObjectiveRequest.Builder (3.47.0)

public static final class UpdateServiceLevelObjectiveRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateServiceLevelObjectiveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public UpdateServiceLevelObjectiveRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateServiceLevelObjectiveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateServiceLevelObjectiveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateServiceLevelObjectiveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateServiceLevelObjectiveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateServiceLevelObjectiveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateServiceLevelObjectiveRequest.Builder
Overrides

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