Class UpdateServiceLevelObjectiveRequest.Builder (3.8.0)

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

The UpdateServiceLevelObjective request.

Protobuf type google.monitoring.v3.UpdateServiceLevelObjectiveRequest

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public UpdateServiceLevelObjectiveRequest build()
Returns

buildPartial()

public UpdateServiceLevelObjectiveRequest buildPartial()
Returns

clear()

public UpdateServiceLevelObjectiveRequest.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

public UpdateServiceLevelObjectiveRequest.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public UpdateServiceLevelObjectiveRequest getDefaultInstanceForType()
Returns

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

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

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 Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateServiceLevelObjectiveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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