Class UpdateServiceLevelObjectiveRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceLevelObjectiveRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceLevelObjectiveRequest.Builder>
      • getDefaultInstanceForType

        public UpdateServiceLevelObjectiveRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdateServiceLevelObjectiveRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdateServiceLevelObjectiveRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceLevelObjectiveRequest.Builder>
      • 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];
        Specified by:
        hasServiceLevelObjective in interface UpdateServiceLevelObjectiveRequestOrBuilder
        Returns:
        Whether the serviceLevelObjective field is set.
      • 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];
        Specified by:
        getServiceLevelObjective in interface UpdateServiceLevelObjectiveRequestOrBuilder
        Returns:
        The serviceLevelObjective.
      • setServiceLevelObjective

        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

        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];
      • mergeServiceLevelObjective

        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];
      • 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];
      • 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];
      • hasUpdateMask

        public boolean hasUpdateMask()
         A set of field paths defining which fields to use for the update.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        hasUpdateMask in interface UpdateServiceLevelObjectiveRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         A set of field paths defining which fields to use for the update.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        getUpdateMask in interface UpdateServiceLevelObjectiveRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateServiceLevelObjectiveRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         A set of field paths defining which fields to use for the update.
         
        .google.protobuf.FieldMask update_mask = 2;
      • setUpdateMask

        public UpdateServiceLevelObjectiveRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         A set of field paths defining which fields to use for the update.
         
        .google.protobuf.FieldMask update_mask = 2;
      • mergeUpdateMask

        public UpdateServiceLevelObjectiveRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         A set of field paths defining which fields to use for the update.
         
        .google.protobuf.FieldMask update_mask = 2;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         A set of field paths defining which fields to use for the update.
         
        .google.protobuf.FieldMask update_mask = 2;