Class SetEntityLimitsRequest.Builder

    • Method Detail

      • setEntity

        public SetEntityLimitsRequest.Builder setEntity​(java.lang.String value)
        string entity = 1 [json_name = "entity"];
        Parameters:
        value - The entity to set.
        Returns:
        This builder for chaining.
      • setEntityBytes

        public SetEntityLimitsRequest.Builder setEntityBytes​(com.google.protobuf.ByteString value)
        string entity = 1 [json_name = "entity"];
        Parameters:
        value - The bytes for entity to set.
        Returns:
        This builder for chaining.
      • getEntityIdBytes

        public com.google.protobuf.ByteString getEntityIdBytes()
        string entity_id = 2 [json_name = "entityId"];
        Specified by:
        getEntityIdBytes in interface SetEntityLimitsRequestOrBuilder
        Returns:
        The bytes for entityId.
      • setEntityId

        public SetEntityLimitsRequest.Builder setEntityId​(java.lang.String value)
        string entity_id = 2 [json_name = "entityId"];
        Parameters:
        value - The entityId to set.
        Returns:
        This builder for chaining.
      • clearEntityId

        public SetEntityLimitsRequest.Builder clearEntityId()
        string entity_id = 2 [json_name = "entityId"];
        Returns:
        This builder for chaining.
      • setEntityIdBytes

        public SetEntityLimitsRequest.Builder setEntityIdBytes​(com.google.protobuf.ByteString value)
        string entity_id = 2 [json_name = "entityId"];
        Parameters:
        value - The bytes for entityId to set.
        Returns:
        This builder for chaining.
      • getLimitsMap

        public java.util.Map<java.lang.String,​java.lang.Integer> getLimitsMap()
        map<string, int32> limits = 3 [json_name = "limits"];
        Specified by:
        getLimitsMap in interface SetEntityLimitsRequestOrBuilder
      • putLimits

        public SetEntityLimitsRequest.Builder putLimits​(java.lang.String key,
                                                        int value)
        map<string, int32> limits = 3 [json_name = "limits"];
      • putAllLimits

        public SetEntityLimitsRequest.Builder putAllLimits​(java.util.Map<java.lang.String,​java.lang.Integer> values)
        map<string, int32> limits = 3 [json_name = "limits"];
      • setEnabled

        public SetEntityLimitsRequest.Builder setEnabled​(boolean value)
        bool enabled = 4 [json_name = "enabled"];
        Parameters:
        value - The enabled to set.
        Returns:
        This builder for chaining.
      • hasOrganizationId

        public boolean hasOrganizationId()
         required for ModerationSubscriptionResponse
         
        optional string organization_id = 5 [json_name = "organizationId"];
        Specified by:
        hasOrganizationId in interface SetEntityLimitsRequestOrBuilder
        Returns:
        Whether the organizationId field is set.
      • getOrganizationId

        public java.lang.String getOrganizationId()
         required for ModerationSubscriptionResponse
         
        optional string organization_id = 5 [json_name = "organizationId"];
        Specified by:
        getOrganizationId in interface SetEntityLimitsRequestOrBuilder
        Returns:
        The organizationId.
      • getOrganizationIdBytes

        public com.google.protobuf.ByteString getOrganizationIdBytes()
         required for ModerationSubscriptionResponse
         
        optional string organization_id = 5 [json_name = "organizationId"];
        Specified by:
        getOrganizationIdBytes in interface SetEntityLimitsRequestOrBuilder
        Returns:
        The bytes for organizationId.
      • setOrganizationId

        public SetEntityLimitsRequest.Builder setOrganizationId​(java.lang.String value)
         required for ModerationSubscriptionResponse
         
        optional string organization_id = 5 [json_name = "organizationId"];
        Parameters:
        value - The organizationId to set.
        Returns:
        This builder for chaining.
      • clearOrganizationId

        public SetEntityLimitsRequest.Builder clearOrganizationId()
         required for ModerationSubscriptionResponse
         
        optional string organization_id = 5 [json_name = "organizationId"];
        Returns:
        This builder for chaining.
      • setOrganizationIdBytes

        public SetEntityLimitsRequest.Builder setOrganizationIdBytes​(com.google.protobuf.ByteString value)
         required for ModerationSubscriptionResponse
         
        optional string organization_id = 5 [json_name = "organizationId"];
        Parameters:
        value - The bytes for organizationId to set.
        Returns:
        This builder for chaining.
      • hasEventId

        public boolean hasEventId()
         required for ModerationSubscriptionResponse
         
        optional string event_id = 6 [json_name = "eventId"];
        Specified by:
        hasEventId in interface SetEntityLimitsRequestOrBuilder
        Returns:
        Whether the eventId field is set.
      • getEventId

        public java.lang.String getEventId()
         required for ModerationSubscriptionResponse
         
        optional string event_id = 6 [json_name = "eventId"];
        Specified by:
        getEventId in interface SetEntityLimitsRequestOrBuilder
        Returns:
        The eventId.
      • getEventIdBytes

        public com.google.protobuf.ByteString getEventIdBytes()
         required for ModerationSubscriptionResponse
         
        optional string event_id = 6 [json_name = "eventId"];
        Specified by:
        getEventIdBytes in interface SetEntityLimitsRequestOrBuilder
        Returns:
        The bytes for eventId.
      • setEventId

        public SetEntityLimitsRequest.Builder setEventId​(java.lang.String value)
         required for ModerationSubscriptionResponse
         
        optional string event_id = 6 [json_name = "eventId"];
        Parameters:
        value - The eventId to set.
        Returns:
        This builder for chaining.
      • clearEventId

        public SetEntityLimitsRequest.Builder clearEventId()
         required for ModerationSubscriptionResponse
         
        optional string event_id = 6 [json_name = "eventId"];
        Returns:
        This builder for chaining.
      • setEventIdBytes

        public SetEntityLimitsRequest.Builder setEventIdBytes​(com.google.protobuf.ByteString value)
         required for ModerationSubscriptionResponse
         
        optional string event_id = 6 [json_name = "eventId"];
        Parameters:
        value - The bytes for eventId to set.
        Returns:
        This builder for chaining.