public static final class UpdateServiceLevelObjectiveRequest.Builder extends GeneratedMessageV3.Builder<UpdateServiceLevelObjectiveRequest.Builder> implements UpdateServiceLevelObjectiveRequestOrBuilder
The UpdateServiceLevelObjective
request.
Protobuf type google.monitoring.v3.UpdateServiceLevelObjectiveRequest
Inherited Members
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateServiceLevelObjectiveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateServiceLevelObjectiveRequest build()
buildPartial()
public UpdateServiceLevelObjectiveRequest buildPartial()
clear()
public UpdateServiceLevelObjectiveRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateServiceLevelObjectiveRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateServiceLevelObjectiveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clearUpdateMask()
public UpdateServiceLevelObjectiveRequest.Builder clearUpdateMask()
A set of field paths defining which fields to use for the update.
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdateServiceLevelObjectiveRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateServiceLevelObjectiveRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
A set of field paths defining which fields to use for the update.
.google.protobuf.FieldMask update_mask = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateServiceLevelObjectiveRequest other)
public UpdateServiceLevelObjectiveRequest.Builder mergeFrom(UpdateServiceLevelObjectiveRequest other)
public UpdateServiceLevelObjectiveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateServiceLevelObjectiveRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateServiceLevelObjectiveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateServiceLevelObjectiveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateServiceLevelObjectiveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateServiceLevelObjectiveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|