Class UpdateServiceLevelObjectiveRequest.Builder (3.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateServiceLevelObjectiveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder
Overrides

build()

public UpdateServiceLevelObjectiveRequest build()
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest

buildPartial()

public UpdateServiceLevelObjectiveRequest buildPartial()
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest

clear()

public UpdateServiceLevelObjectiveRequest.Builder clear()
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateServiceLevelObjectiveRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateServiceLevelObjectiveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder

clone()

public UpdateServiceLevelObjectiveRequest.Builder clone()
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateServiceLevelObjectiveRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateServiceLevelObjectiveRequest other)

public UpdateServiceLevelObjectiveRequest.Builder mergeFrom(UpdateServiceLevelObjectiveRequest other)
Parameter
NameDescription
otherUpdateServiceLevelObjectiveRequest
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateServiceLevelObjectiveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateServiceLevelObjectiveRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueServiceLevelObjective
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateServiceLevelObjectiveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateServiceLevelObjectiveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder
Overrides

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

public UpdateServiceLevelObjectiveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueServiceLevelObjective
Returns
TypeDescription
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
NameDescription
builderForValueServiceLevelObjective.Builder
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateServiceLevelObjectiveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateServiceLevelObjectiveRequest.Builder