Class UptimeCheckConfig.ResourceGroup.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<UptimeCheckConfig.ResourceGroup.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<UptimeCheckConfig.ResourceGroup.Builder>
      • getDefaultInstanceForType

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

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

        public UptimeCheckConfig.ResourceGroup 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<UptimeCheckConfig.ResourceGroup.Builder>
      • getGroupId

        public String getGroupId()
         The group of resources being monitored. Should be only the `[GROUP_ID]`,
         and not the full-path
         `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.
         
        string group_id = 1;
        Specified by:
        getGroupId in interface UptimeCheckConfig.ResourceGroupOrBuilder
        Returns:
        The groupId.
      • getGroupIdBytes

        public com.google.protobuf.ByteString getGroupIdBytes()
         The group of resources being monitored. Should be only the `[GROUP_ID]`,
         and not the full-path
         `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.
         
        string group_id = 1;
        Specified by:
        getGroupIdBytes in interface UptimeCheckConfig.ResourceGroupOrBuilder
        Returns:
        The bytes for groupId.
      • setGroupId

        public UptimeCheckConfig.ResourceGroup.Builder setGroupId​(String value)
         The group of resources being monitored. Should be only the `[GROUP_ID]`,
         and not the full-path
         `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.
         
        string group_id = 1;
        Parameters:
        value - The groupId to set.
        Returns:
        This builder for chaining.
      • clearGroupId

        public UptimeCheckConfig.ResourceGroup.Builder clearGroupId()
         The group of resources being monitored. Should be only the `[GROUP_ID]`,
         and not the full-path
         `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.
         
        string group_id = 1;
        Returns:
        This builder for chaining.
      • setGroupIdBytes

        public UptimeCheckConfig.ResourceGroup.Builder setGroupIdBytes​(com.google.protobuf.ByteString value)
         The group of resources being monitored. Should be only the `[GROUP_ID]`,
         and not the full-path
         `projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]`.
         
        string group_id = 1;
        Parameters:
        value - The bytes for groupId to set.
        Returns:
        This builder for chaining.
      • getResourceTypeValue

        public int getResourceTypeValue()
         The resource type of the group members.
         
        .google.monitoring.v3.GroupResourceType resource_type = 2;
        Specified by:
        getResourceTypeValue in interface UptimeCheckConfig.ResourceGroupOrBuilder
        Returns:
        The enum numeric value on the wire for resourceType.
      • setResourceTypeValue

        public UptimeCheckConfig.ResourceGroup.Builder setResourceTypeValue​(int value)
         The resource type of the group members.
         
        .google.monitoring.v3.GroupResourceType resource_type = 2;
        Parameters:
        value - The enum numeric value on the wire for resourceType to set.
        Returns:
        This builder for chaining.
      • setResourceType

        public UptimeCheckConfig.ResourceGroup.Builder setResourceType​(GroupResourceType value)
         The resource type of the group members.
         
        .google.monitoring.v3.GroupResourceType resource_type = 2;
        Parameters:
        value - The resourceType to set.
        Returns:
        This builder for chaining.
      • clearResourceType

        public UptimeCheckConfig.ResourceGroup.Builder clearResourceType()
         The resource type of the group members.
         
        .google.monitoring.v3.GroupResourceType resource_type = 2;
        Returns:
        This builder for chaining.