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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateServiceLevelObjectiveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateServiceLevelObjectiveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
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
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
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
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
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
A set of field paths defining which fields to use for the update.
.google.protobuf.FieldMask update_mask = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateServiceLevelObjectiveRequest other)
public UpdateServiceLevelObjectiveRequest.Builder mergeFrom(UpdateServiceLevelObjectiveRequest other)
Parameter
Returns
public UpdateServiceLevelObjectiveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateServiceLevelObjectiveRequest.Builder mergeFrom(Message other)
Parameter
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateServiceLevelObjectiveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateServiceLevelObjectiveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateServiceLevelObjectiveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
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
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateServiceLevelObjectiveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
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
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
Name | Description |
builderForValue | Builder
|
Returns